hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
64de7017088413b7b6e542ea7a89c3d88bbd6d12
diff --git a/pythomics/proteomics/parsers.py b/pythomics/proteomics/parsers.py index <HASH>..<HASH> 100644 --- a/pythomics/proteomics/parsers.py +++ b/pythomics/proteomics/parsers.py @@ -1248,6 +1248,7 @@ class ThermoMSFIterator(templates.GenericIterator, GenericProteomicIterator): labels = {} from si...
handle cases where silac is undefined
pandeylab_pythomics
train
023d20842d5a09c9ea2eb625611ba2aa4c7279e2
diff --git a/tests/org.eclipse.xtext.tests/src/org/eclipse/xtext/scoping/impl/ImportedNamespaceAwareLocalScopeProviderTest.java b/tests/org.eclipse.xtext.tests/src/org/eclipse/xtext/scoping/impl/ImportedNamespaceAwareLocalScopeProviderTest.java index <HASH>..<HASH> 100644 --- a/tests/org.eclipse.xtext.tests/src/org/ecl...
[scoping] optimized ImportScope for huge selection (ISelector.SELECT_ALL), ignore duplicate imports, removed LocalScope replaced usages by ImportScope
eclipse_xtext-extras
train
10f1ae30a4f81e9a7e8c820408cccd2907175173
diff --git a/threadedcomments/models.py b/threadedcomments/models.py index <HASH>..<HASH> 100644 --- a/threadedcomments/models.py +++ b/threadedcomments/models.py @@ -7,6 +7,7 @@ PATH_DIGITS = getattr(settings, 'COMMENT_PATH_DIGITS', 10) class ThreadedComment(Comment): + title = models.TextField(blank=True) ...
Added a non-required title field
HonzaKral_django-threadedcomments
train
ab852a0405d9687aebe33555e975482d163d6121
diff --git a/lib/redfish/glassfish/interpreter/interpreter.rb b/lib/redfish/glassfish/interpreter/interpreter.rb index <HASH>..<HASH> 100644 --- a/lib/redfish/glassfish/interpreter/interpreter.rb +++ b/lib/redfish/glassfish/interpreter/interpreter.rb @@ -385,6 +385,8 @@ module Redfish #nodoc end def int...
if managed flag is set to false then skip managing jvm options
realityforge_redfish
train
e71d697d80f19afabcc5e2fdc5c7c87440f4ba46
diff --git a/src/utilities.js b/src/utilities.js index <HASH>..<HASH> 100644 --- a/src/utilities.js +++ b/src/utilities.js @@ -56,18 +56,20 @@ export function buildQueryString({ select, filter, groupBy, orderBy, top, skip, } } -function buildFilter(filter = {}) { - if (typeof(filter) === 'string') { - return...
Add support for passing filter as an array
techniq_react-odata
train
da48400609e9f11177b6ed2ee6a816d6b1fa458a
diff --git a/glue/LSCsegFindServer.py b/glue/LSCsegFindServer.py index <HASH>..<HASH> 100644 --- a/glue/LSCsegFindServer.py +++ b/glue/LSCsegFindServer.py @@ -234,7 +234,7 @@ class ServerHandler(SocketServer.BaseRequestHandler): result = "" for x in res: if len(x) == 1: - result += x.str...
don't strip a tuple
gwastro_pycbc-glue
train
dbcf7a02a08d9e3578039770c1d44c0cbed5b449
diff --git a/lib/model/rwfolder.go b/lib/model/rwfolder.go index <HASH>..<HASH> 100644 --- a/lib/model/rwfolder.go +++ b/lib/model/rwfolder.go @@ -81,7 +81,7 @@ const ( const ( defaultCopiers = 2 defaultPullerPause = 60 * time.Second - defaultPullerPendingKiB = 8192 // must be larger than block size ...
lib/model: Increase the default pull limit (fixes #<I>) Bumping the limit to 2 * the max block size (<I> MiB) is a slight increase compared to previously. Nonetheless I think it's good to allow us to queue one request and have one on the way in, or conversely have one large block on the way in and be able to ask fo...
syncthing_syncthing
train
6aea14e7047fab016cac20f7ad8c6163fc060411
diff --git a/tests/test_read_simple_markdown.py b/tests/test_read_simple_markdown.py index <HASH>..<HASH> 100644 --- a/tests/test_read_simple_markdown.py +++ b/tests/test_read_simple_markdown.py @@ -265,6 +265,25 @@ def test_split_on_header_after_two_blank_lines( compare(markdown2, markdown) +def test_split_at...
Test that the split_at_heading option in the metadata works
mwouts_jupytext
train
782052f4726fd2c5e0c8a95d1779d48688a480d5
diff --git a/upup/pkg/fi/cloudup/apply_cluster.go b/upup/pkg/fi/cloudup/apply_cluster.go index <HASH>..<HASH> 100644 --- a/upup/pkg/fi/cloudup/apply_cluster.go +++ b/upup/pkg/fi/cloudup/apply_cluster.go @@ -401,7 +401,6 @@ func (c *ApplyClusterCmd) Run(ctx context.Context) error { return fmt.Errorf("GCE support is...
Set ssh key on the model context in one location
kubernetes_kops
train
67bfe65fc94fa70478c36ce64d079a2863ed405d
diff --git a/src/CoandaCMS/Coanda/Pages/Exceptions/PublishHandlerException.php b/src/CoandaCMS/Coanda/Pages/Exceptions/PublishHandlerException.php index <HASH>..<HASH> 100644 --- a/src/CoandaCMS/Coanda/Pages/Exceptions/PublishHandlerException.php +++ b/src/CoandaCMS/Coanda/Pages/Exceptions/PublishHandlerException.php @...
Invalid fields must be an array.
CoandaCMS_coanda-core
train
9703be932d78bf07455557ad42fb97d9a51f25bc
diff --git a/src/ol/control/attributioncontrol.js b/src/ol/control/attributioncontrol.js index <HASH>..<HASH> 100644 --- a/src/ol/control/attributioncontrol.js +++ b/src/ol/control/attributioncontrol.js @@ -64,11 +64,11 @@ ol.control.Attribution = function(opt_options) { this.collapsed_ = false; } - var clas...
Fix checks for undefined in attributioncontrol
openlayers_openlayers
train
ea6d5563c08f83fab7a4ec98712182d0a649fed1
diff --git a/cdm-test/src/test/java/ucar/nc2/grib/TestGribIndexCreation.java b/cdm-test/src/test/java/ucar/nc2/grib/TestGribIndexCreation.java index <HASH>..<HASH> 100644 --- a/cdm-test/src/test/java/ucar/nc2/grib/TestGribIndexCreation.java +++ b/cdm-test/src/test/java/ucar/nc2/grib/TestGribIndexCreation.java @@ -37,26...
Add unit test for gdsHash. This should help detect any changes to the gdsHash functionality, like those observed with the TDM on the thredds test machines.
Unidata_thredds
train
5a5fd93cb690de333129b8527842a837b56104f4
diff --git a/packages/react-jsx-highcharts/src/components/Axis/Axis.js b/packages/react-jsx-highcharts/src/components/Axis/Axis.js index <HASH>..<HASH> 100644 --- a/packages/react-jsx-highcharts/src/components/Axis/Axis.js +++ b/packages/react-jsx-highcharts/src/components/Axis/Axis.js @@ -64,7 +64,10 @@ class Axis ext...
Check that axis.remove exists before calling it. Try to prevent bugs with future highcharts versions
whawker_react-jsx-highcharts
train
13bc9531059443efa8957b037c9f51f602b091f3
diff --git a/tests/minifier.js b/tests/minifier.js index <HASH>..<HASH> 100644 --- a/tests/minifier.js +++ b/tests/minifier.js @@ -513,6 +513,10 @@ output = '<textarea> foo bar baz \n\n x \t y </textarea>'; equal(minify(input, { collapseWhitespace: true }), output); + input = '<div><textarea></t...
Added new collapseWhitespace test ... Failing currently.
kangax_html-minifier
train
8c1fe9e73fc5ed6c652d28191d05efe8e9dd25ad
diff --git a/pysat/tests/test_utils_io.py b/pysat/tests/test_utils_io.py index <HASH>..<HASH> 100644 --- a/pysat/tests/test_utils_io.py +++ b/pysat/tests/test_utils_io.py @@ -1226,8 +1226,10 @@ class TestMetaTranslation(object): new_meta = io.add_netcdf4_standards_to_metadict(self.test_inst, ...
TST: Tests pass with 'profiles' time index exception
rstoneback_pysat
train
b116115f71447a3d6e8c4a4fa7b2cc6271ad1ea5
diff --git a/lib/cisco_node_utils/bgp_neighbor_af.rb b/lib/cisco_node_utils/bgp_neighbor_af.rb index <HASH>..<HASH> 100644 --- a/lib/cisco_node_utils/bgp_neighbor_af.rb +++ b/lib/cisco_node_utils/bgp_neighbor_af.rb @@ -573,7 +573,8 @@ module Cisco # NOTE: 'standard' is default but does not nvgen on some platforms...
fix for send-community (#<I>)
cisco_cisco-network-node-utils
train
a35153b3ee3d962faee219136bd4bad227458df7
diff --git a/upoints/__init__.py b/upoints/__init__.py index <HASH>..<HASH> 100644 --- a/upoints/__init__.py +++ b/upoints/__init__.py @@ -71,5 +71,6 @@ from upoints import (baken, cellid, cities, geonames, gpx, kml, nmea, osm, point, trigpoints, tzdata, utils, weather_stations, ...
[QA] __all__ should be strings not objects
JNRowe_upoints
train
9cff696c3da74c4a743933036f449ac37371ac7c
diff --git a/scripts/build/build.js b/scripts/build/build.js index <HASH>..<HASH> 100644 --- a/scripts/build/build.js +++ b/scripts/build/build.js @@ -13,12 +13,12 @@ let cmd = `./node_modules/.bin/rollup ` + `--format ${type} `; // Production version (minified with sourcemap, argument validation removed) -let pr...
Generate two builds (production and development) for each format
djipco_webmidi
train
4b72d4d02904ea463939374d717108ca95879f72
diff --git a/openpnm/network/Cubic.py b/openpnm/network/Cubic.py index <HASH>..<HASH> 100644 --- a/openpnm/network/Cubic.py +++ b/openpnm/network/Cubic.py @@ -168,11 +168,11 @@ class Cubic(GenericNetwork): hits = sp.zeros_like(self.Ps, dtype=bool) dims = topotools.dimensionality(self) mn = sp...
fixing bug in label_pores on Cubic class
PMEAL_OpenPNM
train
c11360bf368bc505f8d71df30265077bb7041abe
diff --git a/multigtfs/models/base.py b/multigtfs/models/base.py index <HASH>..<HASH> 100644 --- a/multigtfs/models/base.py +++ b/multigtfs/models/base.py @@ -31,6 +31,7 @@ logger = getLogger(__name__) re_point = re.compile(r'(?P<name>point)\[(?P<index>\d)\]') batch_size = 1000 large_queryset_size = 100000 +CSV_BOM ...
Refactor to remove branches around BOM handling This eliminates some # pragma: no cover
tulsawebdevs_django-multi-gtfs
train
5cad32be5d9e4587869506969b3511cefc3e26ee
diff --git a/Branch-SDK-TestBed/src/io/branch/branchandroiddemo/MainActivity.java b/Branch-SDK-TestBed/src/io/branch/branchandroiddemo/MainActivity.java index <HASH>..<HASH> 100644 --- a/Branch-SDK-TestBed/src/io/branch/branchandroiddemo/MainActivity.java +++ b/Branch-SDK-TestBed/src/io/branch/branchandroiddemo/MainAct...
Adding <I>% deplane debug support Adding API setDeepLinkDebugMode() to set the deep link debug parameters. These parameters are returned back <I> % time with init session callbacks Note: This method should be called from onCreate() of activity which listens to Branch Init Session
BranchMetrics_android-branch-deep-linking
train
a06b715c269292552d267537ab167bf51718278e
diff --git a/media/js/views/room.js b/media/js/views/room.js index <HASH>..<HASH> 100644 --- a/media/js/views/room.js +++ b/media/js/views/room.js @@ -88,6 +88,18 @@ this.atwhoRooms(); this.atwhoEmotes(); }, + getEmotes: function(cb) { + if (!window.LCB.RoomView.emot...
Only load emotes and users once per window
sdelements_lets-chat
train
28b6aa71da1e6c844008eb9dadab3f2f19a7150c
diff --git a/CGRtools/files/MRVrw.py b/CGRtools/files/MRVrw.py index <HASH>..<HASH> 100644 --- a/CGRtools/files/MRVrw.py +++ b/CGRtools/files/MRVrw.py @@ -415,8 +415,8 @@ class MRVWrite: self._file.write('</molecule>') self._file.write(f'</{j}>') - self._file.write(f'<...
fixed MRW reaction arrow position
cimm-kzn_CGRtools
train
df4f211437a7a5c4b4e1bbc3df8fd1eee8d1aa76
diff --git a/lib/be_valid_asset.rb b/lib/be_valid_asset.rb index <HASH>..<HASH> 100644 --- a/lib/be_valid_asset.rb +++ b/lib/be_valid_asset.rb @@ -1,10 +1,10 @@ module BeValidAsset class Configuration @@config = { - :display_invalid_content => false, - :enable_caching => false, - :dis...
Renamed config variable for number of lines to display.
unboxed_be_valid_asset
train
60c96d79f8326efd84bbe055d8b5ff66812b9b2f
diff --git a/core/Pimf/View/Twig.php b/core/Pimf/View/Twig.php index <HASH>..<HASH> 100644 --- a/core/Pimf/View/Twig.php +++ b/core/Pimf/View/Twig.php @@ -63,7 +63,7 @@ class Twig extends View implements Reunitable $root = String::ensureTrailing('/', dirname(dirname(dirname(dirname(dirname(__FILE__)))))); - ...
make PIMF ready for #twig
gjerokrsteski_pimf-framework
train
5af98bc4453cc65260150305e9d0e585ec024ce0
diff --git a/src/main/java/de/biomedical_imaging/traj/math/PowerLawCurveFit.java b/src/main/java/de/biomedical_imaging/traj/math/PowerLawCurveFit.java index <HASH>..<HASH> 100644 --- a/src/main/java/de/biomedical_imaging/traj/math/PowerLawCurveFit.java +++ b/src/main/java/de/biomedical_imaging/traj/math/PowerLawCurveFi...
Fix overloaded public method doFit() By default, run without using an initial guess.
thorstenwagner_TraJ
train
3611176b55718f91eca4d16b90baefd2fa3a7b0c
diff --git a/cy_scripts/convert.js b/cy_scripts/convert.js index <HASH>..<HASH> 100644 --- a/cy_scripts/convert.js +++ b/cy_scripts/convert.js @@ -11,7 +11,8 @@ var glob = Promise.promisify(glob) var startsWithNumberAndDashRe = /(\d+-)/ var excerptRe = /excerpt:.+/ var newLinesRe = /\n{3,}/ -var calloutRe = /\[block...
Added code to convert block callouts to note tags
cypress-io_cypress
train
0973b0541642d1b8010f8dd720e6c91a9a40da64
diff --git a/ui/src/status/fixtures.js b/ui/src/status/fixtures.js index <HASH>..<HASH> 100644 --- a/ui/src/status/fixtures.js +++ b/ui/src/status/fixtures.js @@ -1,12 +1,12 @@ export const fixtureStatusPageCells = [ { - i: 'c-bar-graphs-fly', + i: 'alerts-bar-graph', isWidget: false, x: 0, y: ...
Modify status fixture graph type to 'bar' Update bar graph fixture title to spec
influxdata_influxdb
train
1a2eb58535638609dd60d05fea54e4e8797b4ea5
diff --git a/src/main/java/nl/jqno/equalsverifier/api/MultipleTypeEqualsVerifierApi.java b/src/main/java/nl/jqno/equalsverifier/api/MultipleTypeEqualsVerifierApi.java index <HASH>..<HASH> 100644 --- a/src/main/java/nl/jqno/equalsverifier/api/MultipleTypeEqualsVerifierApi.java +++ b/src/main/java/nl/jqno/equalsverifier/...
Multiple types: adds some defensive copying
jqno_equalsverifier
train
fdb4299eb2569c8e7e247ae6e57f42a746b83adc
diff --git a/autofit/non_linear/analysis/analysis.py b/autofit/non_linear/analysis/analysis.py index <HASH>..<HASH> 100644 --- a/autofit/non_linear/analysis/analysis.py +++ b/autofit/non_linear/analysis/analysis.py @@ -127,7 +127,6 @@ class CombinedAnalysis(Analysis): def func(child_paths, analysis): ...
added make_result to CombinedAnalysis
rhayes777_PyAutoFit
train
9b7000939225adcd23acb74b3e3f4e58cd8bcda0
diff --git a/AltContainer.js b/AltContainer.js index <HASH>..<HASH> 100644 --- a/AltContainer.js +++ b/AltContainer.js @@ -10,11 +10,13 @@ export default class AltContainer extends React.Component { super(props) const { store, stores } = props; - if (!stores && !store) { - throw new Error('Must defi...
Move validations to dev stage only
koliseoapi_alt-ng
train
3a664d39f123959216f4526537d5ef3d11b553fd
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All Notable changes to `laravel-blade-javascript` will be documented in this file +## 1.0.5 - 2016-08-01 +- fixed a bug where floats were casted to ints + ## 1.0.4 - 2016-06-26 - removed typ...
Fixed a bug where floats were casted to ints
spatie_laravel-blade-javascript
train
75686a493329fc8f813a3e7208eca908ad878b8c
diff --git a/watchdog/src/watchdog/briefkasten_watchdog/__init__.py b/watchdog/src/watchdog/briefkasten_watchdog/__init__.py index <HASH>..<HASH> 100644 --- a/watchdog/src/watchdog/briefkasten_watchdog/__init__.py +++ b/watchdog/src/watchdog/briefkasten_watchdog/__init__.py @@ -232,11 +232,7 @@ def main(fs_config=None)...
FIX: don't exit non-zero habitually this should be reserved for when something goes wrong on a infrastructure level, not to signal that the watchdog has found an isse (as that will be handled via logging and alerting) otherwise this just creates noise on the container level
ZeitOnline_briefkasten
train
4b9ce1c153483a5978c09a3446348a9b680a1ecd
diff --git a/vtki/plotting.py b/vtki/plotting.py index <HASH>..<HASH> 100755 --- a/vtki/plotting.py +++ b/vtki/plotting.py @@ -197,25 +197,17 @@ def plot(var_item, off_screen=False, full_screen=False, screenshot=None, else: plotter.camera_position = cpos - cpos = plotter.show(window_size=window_size,...
Cleanup for windows plotting window close bug
vtkiorg_vtki
train
6b416b4740b93515d665d3a609d8385a26801c48
diff --git a/testware/src/main/java/org/datacleaner/cli/JobTestHelper.java b/testware/src/main/java/org/datacleaner/cli/JobTestHelper.java index <HASH>..<HASH> 100644 --- a/testware/src/main/java/org/datacleaner/cli/JobTestHelper.java +++ b/testware/src/main/java/org/datacleaner/cli/JobTestHelper.java @@ -41,7 +41,9 @@...
Log the output produced by the CLI when the test doesn't produce the expected (number of) resultsets, because it will typically contain a usefull error message in that case. (#<I>)
datacleaner_DataCleaner
train
b34e9d5a7ca9c7fffad7260c9331ecbee7e9c68f
diff --git a/lib/multi_mail/mandrill/sender.rb b/lib/multi_mail/mandrill/sender.rb index <HASH>..<HASH> 100644 --- a/lib/multi_mail/mandrill/sender.rb +++ b/lib/multi_mail/mandrill/sender.rb @@ -27,7 +27,7 @@ module MultiMail end - ## extract html part + ## extract html html...
tests standardized, more fields added to mandrill
jpmckinney_multi_mail
train
22d02a0df2d28706b472244458ae4dc9a15aee62
diff --git a/lib/cf/cli/space/delete.rb b/lib/cf/cli/space/delete.rb index <HASH>..<HASH> 100644 --- a/lib/cf/cli/space/delete.rb +++ b/lib/cf/cli/space/delete.rb @@ -39,6 +39,7 @@ module CF::Space line c(boom.description, :bad) line c("If you want to delete the space along with all dependent obje...
Dont return misleading messages when the current space fails to delete [#<I>]
cloudfoundry-attic_cf
train
d2f65f223638f0ace70525c564c1ae5304a2b5f8
diff --git a/src/ApiClient.php b/src/ApiClient.php index <HASH>..<HASH> 100644 --- a/src/ApiClient.php +++ b/src/ApiClient.php @@ -26,6 +26,8 @@ use Illuminate\Support\Facades\Cache; * @method getRequest() * @method setRequest(Request $request) * @method getResponse() + * + * @mixin \EthicalJobs\SDK\HttpClient ...
Add types to ApiClient
ethical-jobs_sdk-php
train
8edbc581c1b0e0d9f325ab0320af8b78359f0917
diff --git a/zipline/gens/utils.py b/zipline/gens/utils.py index <HASH>..<HASH> 100644 --- a/zipline/gens/utils.py +++ b/zipline/gens/utils.py @@ -8,26 +8,29 @@ from itertools import izip_longest from zipline import ndict from zipline.protocol import DATASOURCE_TYPE + def mock_raw_event(sid, dt): event = { - ...
Applies PEP-8 recommendations. Whitespace wrangling.
quantopian_zipline
train
69b7ccd79d0d3bf03aa440b429e780b081425296
diff --git a/spec/factories/repositories.rb b/spec/factories/repositories.rb index <HASH>..<HASH> 100644 --- a/spec/factories/repositories.rb +++ b/spec/factories/repositories.rb @@ -23,7 +23,6 @@ FactoryGirl.define do scm_type "GIT" address "https://github.com/rafamanzo/runge-kutta-vtk.git" kalibro_conf...
Fixes Repository factory after kalibro_client update
mezuro_prezento
train
2982f1bc2f85014590003feb50e793b9a7ae8b70
diff --git a/pom.xml b/pom.xml index <HASH>..<HASH> 100644 --- a/pom.xml +++ b/pom.xml @@ -35,7 +35,7 @@ <dependency> <groupId>com.blackducksoftware.integration</groupId> <artifactId>hub-common-response</artifactId> - <version>3.7.0</version> + <version>3.8.0-SNAPSHOT</version> </depen...
Added ability to get user role through user data service
blackducksoftware_blackduck-common
train
ef5efaf0d911754ce5c372a14c34d289085ed994
diff --git a/config.rb b/config.rb index <HASH>..<HASH> 100644 --- a/config.rb +++ b/config.rb @@ -42,6 +42,8 @@ set :images_dir, 'images' # Build-specific configuration configure :build do + ignore 'base.haml' + # For example, change the Compass output style for deployment # activate :minify_css
Added file to ignore when `middleman build`
tyom_stratum
train
7efbd62b2240523c7a492e5aa1e74423f53128bf
diff --git a/lib/jsonld-signatures.js b/lib/jsonld-signatures.js index <HASH>..<HASH> 100644 --- a/lib/jsonld-signatures.js +++ b/lib/jsonld-signatures.js @@ -252,7 +252,7 @@ api.verify = util.callbackify(async function(input, options) { // of them may be is known in advance.) const [expanded] = await jsonld.expa...
Use the expanded input for compaction.
digitalbazaar_jsonld-signatures
train
1ecd3cca3a9717aceb33a3327e32f787ae3b79c3
diff --git a/languagetool-language-modules/uk/src/main/java/org/languagetool/rules/uk/MixedAlphabetsRule.java b/languagetool-language-modules/uk/src/main/java/org/languagetool/rules/uk/MixedAlphabetsRule.java index <HASH>..<HASH> 100644 --- a/languagetool-language-modules/uk/src/main/java/org/languagetool/rules/uk/Mixe...
[uk] detect umlauts used as stressed Ukrainian letters
languagetool-org_languagetool
train
eaedd4347ff38ec38cf4b467859ae115e535d1b2
diff --git a/zap/src/main/java/org/zaproxy/zap/view/AbstractFormDialog.java b/zap/src/main/java/org/zaproxy/zap/view/AbstractFormDialog.java index <HASH>..<HASH> 100644 --- a/zap/src/main/java/org/zaproxy/zap/view/AbstractFormDialog.java +++ b/zap/src/main/java/org/zaproxy/zap/view/AbstractFormDialog.java @@ -24,6 +24,...
Centre dialogue on screen if no owner Change `AbstractFormDialog` to centre the dialogue on the screen when it has no owner.
zaproxy_zaproxy
train
ffc8dd43ab4d519b648c1ae2ee6bd6f26523c060
diff --git a/src/Spork/Fifo.php b/src/Spork/Fifo.php index <HASH>..<HASH> 100644 --- a/src/Spork/Fifo.php +++ b/src/Spork/Fifo.php @@ -35,7 +35,7 @@ class Fifo $this->pid = $pid; foreach (array_combine($directions, $modes) as $direction => $mode) { - $fifo = realpath(sys_get_temp_dir()).'...
cleanup fifos closes #<I>
kriswallsmith_spork
train
3307b410b4dd2b0fdcebe2d740985a52d90fcc68
diff --git a/pyrogram/client/filters/filters.py b/pyrogram/client/filters/filters.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/filters/filters.py +++ b/pyrogram/client/filters/filters.py @@ -265,26 +265,34 @@ class Filters: and message.from_user.username.lower() in self)) ...
Give superpowers to Filters.chat too It can now add and remove chats at runtime
pyrogram_pyrogram
train
4236161fa19afd556b34e5bcc7d674b10d551d73
diff --git a/src/Core/Checkout/Order/OrderDefinition.php b/src/Core/Checkout/Order/OrderDefinition.php index <HASH>..<HASH> 100644 --- a/src/Core/Checkout/Order/OrderDefinition.php +++ b/src/Core/Checkout/Order/OrderDefinition.php @@ -96,20 +96,4 @@ class OrderDefinition extends EntityDefinition { return ...
NEXT-<I> - Resolve write order on demand if the commands are requested in order.
shopware_platform
train
1320c29722b8a83175e12032e41e9e695b9d4200
diff --git a/framework/src/play/src/main/java/play/mvc/Http.java b/framework/src/play/src/main/java/play/mvc/Http.java index <HASH>..<HASH> 100644 --- a/framework/src/play/src/main/java/play/mvc/Http.java +++ b/framework/src/play/src/main/java/play/mvc/Http.java @@ -314,7 +314,7 @@ public class Http { public a...
Added containsHeader to Http.RequestHeader. Clarified case-insensitivity of getHeader.
playframework_playframework
train
cfb501936670fa34caf4d1b5ca08c72c34c3102e
diff --git a/api/healthcheck.go b/api/healthcheck.go index <HASH>..<HASH> 100644 --- a/api/healthcheck.go +++ b/api/healthcheck.go @@ -38,7 +38,7 @@ func healthcheck(w http.ResponseWriter, r *http.Request) { _, err = c.GetHealthCheck() if err != nil { w.WriteHeader(http.StatusInternalServerError) - fmt.Fprintf(...
api/healthcheck: remove unecessary call to printf Just print is good.
tsuru_tsuru
train
dd4a0bb79ee7c4886b71ac2e597e1dd9b525b2f8
diff --git a/peg.js b/peg.js index <HASH>..<HASH> 100644 --- a/peg.js +++ b/peg.js @@ -125,11 +125,10 @@ seq($('atm'), txt('?')).select(0).as('opt'), seq($('atm'), $('qtf')).then(function (r) { r[1].rep = r[0]; return r[1]; }), $('atm')); - this.grp = seq(txt('('), $('def...
Added a couple unit tests for PEG.
c5f7c9_llkp
train
7f8f0fe4d97d904620f7101eb9c12d9e059e1a05
diff --git a/lib/vagrant_snap.rb b/lib/vagrant_snap.rb index <HASH>..<HASH> 100644 --- a/lib/vagrant_snap.rb +++ b/lib/vagrant_snap.rb @@ -102,6 +102,7 @@ module Snap def with_target(target, &blk) target_found = false env.vms.each do |name, vm| + next if vm.vm.nil? # not yet created...
don't die on VM defined in env but not yet created
t9md_vagrant-snap
train
2f7c118d8587c7aa83779461d57a2b1d58d99b5f
diff --git a/extensions/apidoc/commands/RenderController.php b/extensions/apidoc/commands/RenderController.php index <HASH>..<HASH> 100644 --- a/extensions/apidoc/commands/RenderController.php +++ b/extensions/apidoc/commands/RenderController.php @@ -44,6 +44,9 @@ class RenderController extends Controller } $re...
improved erorr handling in api doc controller
yiisoft_yii-core
train
41e070a9578845c3fc358daca7a6bb6214a8428f
diff --git a/lib/dependency-checker.js b/lib/dependency-checker.js index <HASH>..<HASH> 100644 --- a/lib/dependency-checker.js +++ b/lib/dependency-checker.js @@ -24,13 +24,17 @@ function isNotSymlinked(pkg) { return !pkg.isSymlinked; } +function isDisabled(project) { + return project && project.cli && project.c...
added check for project.cli.disableDependencyChecker to circumvent dependency checker when testing blueprints
quaertym_ember-cli-dependency-checker
train
583b98a9accc90a21dfd96938bf5793a152ad419
diff --git a/composer.json b/composer.json index <HASH>..<HASH> 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "guzzlehttp/psr7": "^1.0", "react/socket": "^0.7", "react/event-loop": "0.4.*", - "react/stream": "^0.5|^0.6", + "react/stream": "^1.0 || ^0.7 || ^0.6 |...
Forward compatibility with upcoming Stream <I> through old <I>
reactphp_http-client
train
53b0088b0bb20289859a7e5583f5ae6f6987b949
diff --git a/python/neuroglancer/viewer_state.py b/python/neuroglancer/viewer_state.py index <HASH>..<HASH> 100644 --- a/python/neuroglancer/viewer_state.py +++ b/python/neuroglancer/viewer_state.py @@ -177,6 +177,12 @@ class ImageLayer(Layer): shader = wrapped_property('shader', text_type) opacity = wrapped_...
feat(python): support interpolation between layer states
google_neuroglancer
train
9a044954bb8da041223bb4014aab679c7d76e9fb
diff --git a/tests/mocks/models.py b/tests/mocks/models.py index <HASH>..<HASH> 100644 --- a/tests/mocks/models.py +++ b/tests/mocks/models.py @@ -29,6 +29,19 @@ class Keras(lore.models.keras.Base): ) +class KerasMulti(lore.models.keras.Base): + def __init__(self): + super(KerasMulti, self).__ini...
Test Keras MultiClassifier (#<I>) * failing test for multi * change unique to onehot
instacart_lore
train
4ab5a6a757e6c0ab14af29f1faf3a38249971701
diff --git a/openpnm/algorithms/ChargeConservation.py b/openpnm/algorithms/ChargeConservation.py index <HASH>..<HASH> 100644 --- a/openpnm/algorithms/ChargeConservation.py +++ b/openpnm/algorithms/ChargeConservation.py @@ -6,9 +6,9 @@ logger = logging.getLogger(__name__) docstr = Docorator() [email protected]_sectionsf...
Adding proof of concept to add nested settings classes for hierarchical 'dot' access
PMEAL_OpenPNM
train
c93c1e92f79dbed3e9074187b7f9a8653fd6c5b7
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index <HASH>..<HASH> 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -48,8 +48,24 @@ shared_examples_for "an engine" do CGI.escapeHTML(data[key]) end + it "includes subname" do + expect(html).to include(%|<aside class="onebox #{d...
We want to make sure the various pieces are in the template
discourse_onebox
train
a7dd19beb6572e47a071565daa1cec02265b0045
diff --git a/lib/instrumentation/index.js b/lib/instrumentation/index.js index <HASH>..<HASH> 100644 --- a/lib/instrumentation/index.js +++ b/lib/instrumentation/index.js @@ -77,7 +77,7 @@ Instrumentation.prototype.addEndedTransaction = function (transaction) { var payload = new AsyncValuePromise() - payloa...
refactor: use new catch function in async-value-promise (#<I>)
elastic_apm-agent-nodejs
train
4d0b29ee8af36185552b736fe227edd2dfda024a
diff --git a/src/statement.js b/src/statement.js index <HASH>..<HASH> 100644 --- a/src/statement.js +++ b/src/statement.js @@ -655,7 +655,12 @@ pp.checkVariableExport = function(exports, decls) { } pp.shouldParseExportStatement = function() { - return this.type.keyword || this.isLet() || this.isAsyncFunction() + ...
Throw "unexpected token" error when exporting a non-declaration
acornjs_acorn
train
f4df7149913e951ba065770bf7594ea23d405fb9
diff --git a/lib/rworkflow/minitest/test.rb b/lib/rworkflow/minitest/test.rb index <HASH>..<HASH> 100644 --- a/lib/rworkflow/minitest/test.rb +++ b/lib/rworkflow/minitest/test.rb @@ -24,10 +24,11 @@ module Rworkflow # @params [Hash] options hash # @option [Class] :flow workflow class to instantiate; defau...
return workflow as well as worker, and add possibility to pass meta data to set for workflow
barcoo_rworkflow
train
d96fdbc94802c062be61f7ffe9f629b45e43300f
diff --git a/lenstronomy/LensModel/lens_model_extensions.py b/lenstronomy/LensModel/lens_model_extensions.py index <HASH>..<HASH> 100644 --- a/lenstronomy/LensModel/lens_model_extensions.py +++ b/lenstronomy/LensModel/lens_model_extensions.py @@ -209,9 +209,9 @@ class LensModelExtensions(LensModel): x_grid += ...
multiPlane compatible with empty lens model
sibirrer_lenstronomy
train
433be6ac9bf44947c99e178d12a71eaf5b37767f
diff --git a/scripts/emulator.js b/scripts/emulator.js index <HASH>..<HASH> 100644 --- a/scripts/emulator.js +++ b/scripts/emulator.js @@ -52,7 +52,7 @@ const askForEmu = [ .concat([ new inquirer.Separator(), { - name: 'Other Sdk', + name: 'Other Sdk (Require download)', ...
[Scripts][Emulator] Better managment of tasks
Nozbe_WatermelonDB
train
4b8652f1c416c8477a787b65d77e1665b40f25f7
diff --git a/test/integration/022_bigquery_test/test_bigquery_copy_failing_models.py b/test/integration/022_bigquery_test/test_bigquery_copy_failing_models.py index <HASH>..<HASH> 100644 --- a/test/integration/022_bigquery_test/test_bigquery_copy_failing_models.py +++ b/test/integration/022_bigquery_test/test_bigquery_...
Should be two results for original table and (failing) copy
fishtown-analytics_dbt
train
489857fa8719f39bd6b10f1f8c366a9cbb5b0de6
diff --git a/js/demo.js b/js/demo.js index <HASH>..<HASH> 100644 --- a/js/demo.js +++ b/js/demo.js @@ -6,7 +6,7 @@ demoApp.controller("ctrl", ['$scope', function($scope) { $scope.mode = "custom"; $scope.firstDay = 1; $scope.weekendDays = [0,6]; - $scope.maxHeight = 300; + $scope.maxHeight = 0; ...
MaxHeight is deactivated by default in the demo
angular-gantt_angular-gantt
train
09d7f0fd6f45df5ed10775a682d2b48c6bb672a2
diff --git a/cfg4j-core/src/main/java/org/cfg4j/source/metered/MeteredConfigurationSource.java b/cfg4j-core/src/main/java/org/cfg4j/source/metered/MeteredConfigurationSource.java index <HASH>..<HASH> 100644 --- a/cfg4j-core/src/main/java/org/cfg4j/source/metered/MeteredConfigurationSource.java +++ b/cfg4j-core/src/main...
support delayed initialization in Metered source
cfg4j_cfg4j
train
06f51e2d921930138dc112e5356cfec8f9174911
diff --git a/helios-testing/src/main/java/com/spotify/helios/testing/HeliosSoloDeployment.java b/helios-testing/src/main/java/com/spotify/helios/testing/HeliosSoloDeployment.java index <HASH>..<HASH> 100644 --- a/helios-testing/src/main/java/com/spotify/helios/testing/HeliosSoloDeployment.java +++ b/helios-testing/src/...
Move awaitJobUndeployed() to outside of if
spotify_helios
train
edffe8864c29cf5bdf90a649b04567edca3927f7
diff --git a/src/libhoney.js b/src/libhoney.js index <HASH>..<HASH> 100644 --- a/src/libhoney.js +++ b/src/libhoney.js @@ -120,10 +120,13 @@ export default class Libhoney extends EventEmitter { } _responseCallback(responses) { - let queue = this._responseQueue; - if (queue.length < this._options.maxRespon...
Enforce limited response queue * add logic to limit new responses to queue max * refactor array-slicing logic * move all logic into concatWithMaxLimit * Add detailed function description
honeycombio_libhoney-js
train
d130a6067227f541c4f04e5c9de6282f1a7409ed
diff --git a/src/language/parser.js b/src/language/parser.js index <HASH>..<HASH> 100644 --- a/src/language/parser.js +++ b/src/language/parser.js @@ -19,7 +19,6 @@ import { type VariableNode, type DocumentNode, type DefinitionNode, - type ExecutableDefinitionNode, type OperationDefinitionNode, type Ope...
parser: Inline 'parseExecutableDefinition' to simplify code (#<I>)
graphql_graphql-js
train
33b2ae7adef917ddcafb93f3bca6a28d0f750c03
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,8 @@ ## Unreleased -* Including a recipe from a cookbook not in the dependency graph raises - a MissingCookbookDependency exception. Fixes CHEF-4367. +* Including a recipe from a cookbook not in t...
Change missing dependency from hard error to warning for now.
chef_chef
train
a64c009eb3a1d38501f1c398a06e382807374c43
diff --git a/src/DOM/shapes/nodeWithComponent.js b/src/DOM/shapes/nodeWithComponent.js index <HASH>..<HASH> 100644 --- a/src/DOM/shapes/nodeWithComponent.js +++ b/src/DOM/shapes/nodeWithComponent.js @@ -6,7 +6,7 @@ import { handleHooks } from '../addAttributes'; export default function createNodeWithComponent(compon...
fixed issue with a root component regenerating
infernojs_inferno
train
c5e66883ed1a8ed91369f23c9f08de4cd8c1d32b
diff --git a/mod/hotpot/report/default.php b/mod/hotpot/report/default.php index <HASH>..<HASH> 100644 --- a/mod/hotpot/report/default.php +++ b/mod/hotpot/report/default.php @@ -544,8 +544,9 @@ class hotpot_default_report { } } function print_text_start(&$course, &$hotpot, &$options) { + $downloadfilename = cl...
use clean_filename for filename of text file download
moodle_moodle
train
715ae7e5dcbee832860bca09fffd71ea4ba645ff
diff --git a/src/satosa/internal_data.py b/src/satosa/internal_data.py index <HASH>..<HASH> 100644 --- a/src/satosa/internal_data.py +++ b/src/satosa/internal_data.py @@ -99,8 +99,12 @@ class DataConverter(object): """ internal_dict = {} - for internal_key in self.from_internal_attributes: - ...
Don't raise exception if no mapping exists for an internal attribute in a certain profile.
IdentityPython_SATOSA
train
5ef018c20659585fcf7313704a53916cd23aefac
diff --git a/src/PhpImap/Mailbox.php b/src/PhpImap/Mailbox.php index <HASH>..<HASH> 100644 --- a/src/PhpImap/Mailbox.php +++ b/src/PhpImap/Mailbox.php @@ -164,15 +164,35 @@ class Mailbox { } /** - * Creates a new mailbox specified by mailbox. - * + * Creates a new mailbox + * @param $name * @return bool ...
Mailbox create/rename/delete methods closes #<I>
barbushin_php-imap
train
844951ff44fe6f910565b674e5639e027933a774
diff --git a/src/directives/scroll-container.js b/src/directives/scroll-container.js index <HASH>..<HASH> 100644 --- a/src/directives/scroll-container.js +++ b/src/directives/scroll-container.js @@ -1,5 +1,5 @@ -angular.module('duScroll.scrollContainer', ['duScroll.scrollContainerAPI']). -directive('duScrollContainer',...
Rebind scroll container watchers on location change. Fixes #<I>.
oblador_angular-scroll
train
189aa0ea705f5aa68f54307ec7d1552ec51b48f5
diff --git a/bin/index.js b/bin/index.js index <HASH>..<HASH> 100755 --- a/bin/index.js +++ b/bin/index.js @@ -122,7 +122,6 @@ if (argv.help || argv._[0] === 'help') { options = profiles[argv.profile || argv._[0]]; console.log('Using profile ' + (argv.profile ? argv.profile : argv._[0])); } else { - ...
Remove default profile console log (that was confusing)
sitespeedio_throttle
train
6fc7a230074774c3351e63517a216ee40683aa68
diff --git a/utils/multires/generate.py b/utils/multires/generate.py index <HASH>..<HASH> 100755 --- a/utils/multires/generate.py +++ b/utils/multires/generate.py @@ -298,7 +298,7 @@ if haov < 360 or vaov < 180: genPreview = False if genPreview: # Generate SHT-hash preview - shtHash = img2shtHash(np.array...
Resize image before SHT calculation to ensure even dimensions (fixes #<I>). This probably also speeds up the calculation.
mpetroff_pannellum
train
0f2bd9b0854fa426338c04a804efdfd94a1efd50
diff --git a/pylls/__init__.py b/pylls/__init__.py index <HASH>..<HASH> 100644 --- a/pylls/__init__.py +++ b/pylls/__init__.py @@ -17,3 +17,8 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, see <http://www.gnu.org/licenses/>. + +__all__ = ['client', '...
Fixing imports for python3
outini_python-pylls
train
e08c981888ab17c53b808408ac90a33fa6644d5e
diff --git a/lib/reports_kit/configuration.rb b/lib/reports_kit/configuration.rb index <HASH>..<HASH> 100644 --- a/lib/reports_kit/configuration.rb +++ b/lib/reports_kit/configuration.rb @@ -13,7 +13,6 @@ module ReportsKit self.autocomplete_results_method = nil self.cache_duration = 5.minutes self....
Remove call to Configuration#context_record_method=, which is deprecated
tombenner_reports_kit
train
dac56751e6c53f06078c85eaed414a80c0fdf487
diff --git a/lib/dat-tcp/version.rb b/lib/dat-tcp/version.rb index <HASH>..<HASH> 100644 --- a/lib/dat-tcp/version.rb +++ b/lib/dat-tcp/version.rb @@ -1,3 +1,3 @@ module DatTCP - VERSION = "0.3.1" + VERSION = "0.4.0" end
<I> * Replace internal worker pool with DatWorkerPool (#<I>)
redding_dat-tcp
train
6a31f2f6f1a4c722fccb9fe5186f02194e2d9c54
diff --git a/src/Omnipay/Pacnet/Message/AuthorizeRequest.php b/src/Omnipay/Pacnet/Message/AuthorizeRequest.php index <HASH>..<HASH> 100644 --- a/src/Omnipay/Pacnet/Message/AuthorizeRequest.php +++ b/src/Omnipay/Pacnet/Message/AuthorizeRequest.php @@ -13,7 +13,7 @@ class AuthorizeRequest extends SubmitRequest ...
My guess is this was why the build is failing
mfauveau_omnipay-pacnet
train
b6f9453ab41a56053fb669df3f29d50be7566c45
diff --git a/lib/dynamic_paperclip/attachment_style_generator.rb b/lib/dynamic_paperclip/attachment_style_generator.rb index <HASH>..<HASH> 100644 --- a/lib/dynamic_paperclip/attachment_style_generator.rb +++ b/lib/dynamic_paperclip/attachment_style_generator.rb @@ -19,7 +19,7 @@ module DynamicPaperclip atta...
Verify if the original image file exists. Returns a <I> if not.
room118solutions_dynamic_paperclip
train
932f299bc0cf55c24a294d1d2fba7dde466e1a36
diff --git a/lib/blocklib.php b/lib/blocklib.php index <HASH>..<HASH> 100644 --- a/lib/blocklib.php +++ b/lib/blocklib.php @@ -2537,6 +2537,6 @@ function blocks_add_default_system_blocks() { } $newblocks = array('private_files', 'online_users', 'badges', 'calendar_month', 'calendar_upcoming'); - $newcont...
MDL-<I> core: upgrade code for introduction of block_myoverview Part of MDL-<I> epic.
moodle_moodle
train
e6b32e21adeaaa96103911992dd09c7bbd2d853c
diff --git a/cake/console/libs/acl.php b/cake/console/libs/acl.php index <HASH>..<HASH> 100644 --- a/cake/console/libs/acl.php +++ b/cake/console/libs/acl.php @@ -1,10 +1,6 @@ <?php -/* SVN FILE: $Id$ */ - /** - * Short description for file. - * - * Long description for file + * Acl Shell provides Acl access in the C...
Adding tests for getPath and inherit. Refactoring the output of getPath
cakephp_cakephp
train
e346c01e0db97841c218c821e574a363e522e4cf
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -63,7 +63,7 @@ function invokeSequentialTargets(config) { let targetOptions = { _targets, target, targetName, config: (config[namespace] || {}) }; acc.push(targetOptions); } else { - ...
clearer error when target does not exist
targets-framework_targets
train
e905f4de5f1b234f5a34e1e124b7017805374b55
diff --git a/bin/yaml-validator.js b/bin/yaml-validator.js index <HASH>..<HASH> 100644 --- a/bin/yaml-validator.js +++ b/bin/yaml-validator.js @@ -8,8 +8,6 @@ * Licensed under the MIT license. */ -'use strict'; - const fs = require('fs'), path = require('path'); diff --git a/index.js b/index.js index <HASH>...
Who needs strict when its already bed time for ES5? :santa:
paazmaya_yaml-validator
train
a796bc67b72c4c11f22fc1720dbb4810d990976a
diff --git a/src/Transport/StreamInsert.php b/src/Transport/StreamInsert.php index <HASH>..<HASH> 100644 --- a/src/Transport/StreamInsert.php +++ b/src/Transport/StreamInsert.php @@ -57,21 +57,12 @@ class StreamInsert $this->request->header('Transfer-Encoding', 'chunked'); $this->request->se...
FIX: one stream work faster and safe than loop
smi2_phpClickHouse
train
2ead87f0af9f35aa2290fb8355cc9f544859c48b
diff --git a/src/commands/status/index.js b/src/commands/status/index.js index <HASH>..<HASH> 100644 --- a/src/commands/status/index.js +++ b/src/commands/status/index.js @@ -8,7 +8,14 @@ class StatusCommand extends Command { async run() { const { globalConfig, api, site } = this.netlify const current = gl...
update netlify status logic & exit early if no token
netlify_cli
train
2d379e211b1bab9fc0f9114fbd87591a4264ec9e
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,17 +1,22 @@ #encoding: utf-8 +import io import os import re -from setuptools import setup, find_packages + +from setuptools import find_packages, setup # parse version from ate/__init__.py with open(os.path.join(os.p...
setup long description read from README
HttpRunner_HttpRunner
train
88019ca0af112c4507b237a275267839ba7c2715
diff --git a/ruby/import-js/importer.rb b/ruby/import-js/importer.rb index <HASH>..<HASH> 100644 --- a/ruby/import-js/importer.rb +++ b/ruby/import-js/importer.rb @@ -3,7 +3,6 @@ require 'yaml' module ImportJS class Importer def initialize - @buffer = VIM::Buffer.current @config = { 'lookup_paths' ...
Don't memoize buffer I ran into a bug where the import would end up in a different buffer. It turns out that a past me was a bit stupid and decided to memoize the buffer in an instance variable.
Galooshi_import-js
train
14a4dfb41e7f3109f9ccbfb09d250900de4db09f
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -50,7 +50,7 @@ class ReleaseCheck(Command): def run(self): from subprocess import check_output - tag = check_output(['git', 'describe', '--all', '--exact-match', 'HEAD']).strip() + tag = check_out...
Fix release check for multiple versions of git
TriOptima_tri.form
train
640925c22c4f634a3efc31c4bab95eb34868888f
diff --git a/src/main/java/com/slickqa/client/model/Feature.java b/src/main/java/com/slickqa/client/model/Feature.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/slickqa/client/model/Feature.java +++ b/src/main/java/com/slickqa/client/model/Feature.java @@ -5,6 +5,9 @@ public class Feature { /* A String rep...
adding img and imgUrl to Feature
slickqa_slickqa-java-client
train
3a440c847e6a28dac1140d1e29aa03083dba1e6c
diff --git a/api/firewaller/application.go b/api/firewaller/application.go index <HASH>..<HASH> 100644 --- a/api/firewaller/application.go +++ b/api/firewaller/application.go @@ -64,3 +64,32 @@ func (s *Application) IsExposed() (bool, error) { } return result.Result, nil } + +// ExposeInfo returns a flag to indica...
Implement client for ExposeInfo API call
juju_juju
train
22e3e3235099faae6ae552dff4b0de57c0d59982
diff --git a/cli/src/main/java/com/bazaarvoice/auth/hmac/cli/HurlCli.java b/cli/src/main/java/com/bazaarvoice/auth/hmac/cli/HurlCli.java index <HASH>..<HASH> 100644 --- a/cli/src/main/java/com/bazaarvoice/auth/hmac/cli/HurlCli.java +++ b/cli/src/main/java/com/bazaarvoice/auth/hmac/cli/HurlCli.java @@ -10,6 +10,7 @@ imp...
Include user agent string for hurl
bazaarvoice_jersey-hmac-auth
train
2de4ab0068f1db5f2ccb28fafe1117665d5b91e4
diff --git a/_uniout.py b/_uniout.py index <HASH>..<HASH> 100644 --- a/_uniout.py +++ b/_uniout.py @@ -6,11 +6,6 @@ __all__ = ['unescape', 'make_unistream', 'runs_in_ipython'] import sys import re -try: - import chardet -except ImportError: - chardet = None - def literalize(content, is_unicode=False): ...
removed the chardet feature It is because there has some problem to show the correct literal.
moskytw_uniout
train
3a4aba88ce3d67d393d19d3d1db10e473d6f29f8
diff --git a/pyathena/__init__.py b/pyathena/__init__.py index <HASH>..<HASH> 100644 --- a/pyathena/__init__.py +++ b/pyathena/__init__.py @@ -6,6 +6,12 @@ import datetime from pyathena.error import * # noqa +try: + from multiprocessing import cpu_count +except ImportError: + def cpu_count(): + retur...
Implement parallel execution of conversion to parquet and upload to s3
laughingman7743_PyAthena
train
da7fe8b87a0aa31953a3fb5aa2aedf6bcaddcf14
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -78,7 +78,15 @@ BinWrapper.prototype.use = function (str) { return this._use; } - this._use = path.join(this.dest(), str); + var opts = { path: this.dest(), global: this.global, exclude: 'node_modules/.bi...
Global binary path should be set outside the `.run()` method
kevva_bin-wrapper
train
fe3e24d64de9026d24015e24c618a2bf6bbe404c
diff --git a/src/JimmyOak/Collection/Collection.php b/src/JimmyOak/Collection/Collection.php index <HASH>..<HASH> 100644 --- a/src/JimmyOak/Collection/Collection.php +++ b/src/JimmyOak/Collection/Collection.php @@ -10,7 +10,7 @@ class Collection implements \ArrayAccess /** @var string */ private $objectType; ...
Collection internal var protected for extending purposes
jimmyoak_utilities
train
de69d7a7e5a6edaa007bae9f74c0665299480579
diff --git a/src/yield_handler.js b/src/yield_handler.js index <HASH>..<HASH> 100644 --- a/src/yield_handler.js +++ b/src/yield_handler.js @@ -7,7 +7,7 @@ import Promise from 'bluebird'; let yieldHandlers = []; export function isThenable( obj ) { - return obj !== void 0 && obj !== null && (obj instanceof Promise...
src: Boost performance in a couple ways. Mostly by getting rid of the function binds. Apparently calling with a specific context is still faster than binding it to that context. Also since everything checks if the result is thenable anyway, I removed the exception stuff.
novacrazy_bluebird-co
train