hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
1fe9c5a69810dc67b43b1ff47721507726b14992
diff --git a/openid/consumer/consumer.py b/openid/consumer/consumer.py index <HASH>..<HASH> 100644 --- a/openid/consumer/consumer.py +++ b/openid/consumer/consumer.py @@ -728,6 +728,9 @@ class GenericConsumer(object): # Verify discovery information: endpoint = self._verifyDiscoveryResults(message, e...
[project @ Add better logging for consumer] Log requests created with assoc handle or stateless Log responses received with assoc handle
necaris_python3-openid
train
17d2897fe1204fca59e50eb887b34c33c5f866ee
diff --git a/src/Schema/Schema.php b/src/Schema/Schema.php index <HASH>..<HASH> 100644 --- a/src/Schema/Schema.php +++ b/src/Schema/Schema.php @@ -172,6 +172,22 @@ class Schema implements ConfigurationApplier, SchemaValidator if (empty($schemaConfig)) { return $this; } + + $validCo...
Add schema key check, pass type as object for discovery
silverstripe_silverstripe-graphql
train
ade0fc90f793c97554d26478432e779a7fa873b6
diff --git a/json.go b/json.go index <HASH>..<HASH> 100644 --- a/json.go +++ b/json.go @@ -38,7 +38,7 @@ func ReadJSON(c *Conn, v interface{}) error { // ReadJSON reads the next JSON-encoded message from the connection and stores // it in the value pointed to by v. // -// See the documentation for the encoding/json ...
Correct documentation, the "ReadJSON" function depends on "Unmarshal", not "Marshal"
gorilla_websocket
train
40a0d203e078f29240eae45ab91b5313041a78d8
diff --git a/includes/class-wp-ms-networks-admin.php b/includes/class-wp-ms-networks-admin.php index <HASH>..<HASH> 100644 --- a/includes/class-wp-ms-networks-admin.php +++ b/includes/class-wp-ms-networks-admin.php @@ -443,7 +443,7 @@ class WPMN_Admin { <?php endif; ?> <div> <input type="hidden" name...
make "Move Site" button a primary
stuttter_wp-multi-network
train
5e5eb1b5963626b70d9d3b7c4c1dcd3e89a5fd5d
diff --git a/fluids/flow_meter.py b/fluids/flow_meter.py index <HASH>..<HASH> 100644 --- a/fluids/flow_meter.py +++ b/fluids/flow_meter.py @@ -106,6 +106,10 @@ __all__.extend(['ORIFICE_CORNER_TAPS', 'ORIFICE_FLANGE_TAPS', 'ORIFICE_D_AND_D_2_TAPS', 'ORIFICE_PIPE_TAPS', 'ORIFICE_VENA_CO...
Expose a few other constants in flow meter
CalebBell_fluids
train
adceac057c71b9af3dc132c8cdfe9b8b63a2c74c
diff --git a/src/Embedly/Embedly.php b/src/Embedly/Embedly.php index <HASH>..<HASH> 100644 --- a/src/Embedly/Embedly.php +++ b/src/Embedly/Embedly.php @@ -222,6 +222,7 @@ class Embedly { } $result = array(); + $merged_result = array(); if (sizeof($rejects) < sizeof($params['urls'])...
If there's an http error code, return the error in all results
embedly_embedly-php
train
367409128613030fb886213b7e38c763747d517d
diff --git a/enforcer.go b/enforcer.go index <HASH>..<HASH> 100644 --- a/enforcer.go +++ b/enforcer.go @@ -101,8 +101,10 @@ func (e *Enforcer) InitWithAdapter(modelPath string, adapter persist.Adapter) { e.enabled = true - e.LoadModel() - e.LoadPolicy() + if e.modelPath != "" { + e.LoadModel() + e.LoadPolicy() ...
Don't load policy for empty model in InitWithAdapter().
casbin_casbin
train
d985508d66c6137ffe9505c38a7f8485a93dd667
diff --git a/aegean.py b/aegean.py index <HASH>..<HASH> 100644 --- a/aegean.py +++ b/aegean.py @@ -2321,8 +2321,8 @@ if __name__=="__main__": logging.error("{0} not found".format(options.input)) sys.exit() logging.info("Measuring fluxes of input catalog.") - measurements = meas...
--measure now works it seems that previous versions of aegean were not actually using the input rms file. This has also been fixed.
PaulHancock_Aegean
train
2321871c3a814cc311ae411604170ac2c4370d11
diff --git a/src/components/draggablelist/draggablelist.js b/src/components/draggablelist/draggablelist.js index <HASH>..<HASH> 100644 --- a/src/components/draggablelist/draggablelist.js +++ b/src/components/draggablelist/draggablelist.js @@ -107,9 +107,6 @@ const DraggableList = Component.extend({ ready() { co...
fix draggablelist crash if group.manualSorting is set to null #<I> (#<I>)
vizabi_vizabi
train
b679f0f5592610842b0118c48c5633b7c1ffdcb6
diff --git a/lib/fog/rackspace/files.rb b/lib/fog/rackspace/files.rb index <HASH>..<HASH> 100644 --- a/lib/fog/rackspace/files.rb +++ b/lib/fog/rackspace/files.rb @@ -122,7 +122,7 @@ module Fog :host => @storage_host, :path => "#{@storage_path}/#{params[:path]}", }), &block)...
[rackspace] more universally handle json parsing stuff for rackspace
fog_fog
train
36f69440393f28ac387dde0a58d39e5267da32e9
diff --git a/flask_simpleldap/__init__.py b/flask_simpleldap/__init__.py index <HASH>..<HASH> 100644 --- a/flask_simpleldap/__init__.py +++ b/flask_simpleldap/__init__.py @@ -232,8 +232,8 @@ class LDAP(object): if current_app.config['LDAP_OPENLDAP']: group_member_filter = \ ...
Make groups-related functions work with str instead of bytes (get_user_groups/get_group_members/group_required) This was undone accidentally when removing support for Python2 in <URL>
admiralobvious_flask-simpleldap
train
2aefe156869851a89d7a34e28c3e4ff3ac442fff
diff --git a/cmd/commandfuncs.go b/cmd/commandfuncs.go index <HASH>..<HASH> 100644 --- a/cmd/commandfuncs.go +++ b/cmd/commandfuncs.go @@ -577,6 +577,10 @@ func cmdUpgrade(_ Flags) (int, error) { if err != nil { return caddy.ExitCodeFailedStartup, fmt.Errorf("determining current executable path: %v", err) } + th...
cmd: upgrade: inherit the permissions of the original executable (#<I>)
mholt_caddy
train
c811f2d92825dcb00cf61a6f79fca699e9c9acfb
diff --git a/lib/hair_trigger.rb b/lib/hair_trigger.rb index <HASH>..<HASH> 100644 --- a/lib/hair_trigger.rb +++ b/lib/hair_trigger.rb @@ -157,21 +157,35 @@ end end def infer_migration_name(migration_names, create_triggers, drop_triggers) - migration_base_name = if create_triggers.size > 0 - ("c...
slightly more sensible migration names, fixes #<I> migration names could get really long, resulting in Errno::ENAMETOOLONG... so de-dup identical table+event pairs, and if we have too many just name it CreateTriggersMultipleTables (possibly w/ numeric suffix if one already exists)
jenseng_hair_trigger
train
4e82069de24e283afc45a70a3f532aa78d4fbbdf
diff --git a/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/rules/patterns/PatternRule.java b/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/rules/patterns/PatternRule.java index <HASH>..<HASH> 100644 --- a/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/rules/patterns/PatternRule.java +++ ...
implement negation for "^" syntax
languagetool-org_languagetool
train
bff646fb26548892958debaafeeef0270b431156
diff --git a/commands/option.go b/commands/option.go index <HASH>..<HASH> 100644 --- a/commands/option.go +++ b/commands/option.go @@ -89,7 +89,7 @@ func (ov OptionValue) Bool() (value bool, found bool, err error) { return val, ov.found, err } -func (ov OptionValue) Int() (val int, found bool, err error) { +func (...
fix(commands/optionvalue) don't shadow the return variable NB: return variables are provided for clarity. Otherwise, it's not entirely clear that the bool is for _found_.
ipfs_go-ipfs
train
b559c5ce0d60dc48800389a04e77bcdedcef6a80
diff --git a/lib/rack-google-analytics.rb b/lib/rack-google-analytics.rb index <HASH>..<HASH> 100755 --- a/lib/rack-google-analytics.rb +++ b/lib/rack-google-analytics.rb @@ -57,10 +57,10 @@ module Rack def inject_tracker(response) if @async tracker_code = ASYNC_TRACKER_CODE.sub(/UA-xxxxxx-x/, @tra...
Modifying slightyly not to completely explode if the sub isn't impossible, damn this library needs tests
kangguru_rack-google-analytics
train
6a3758804131196b804ca6abf94c90988763a00f
diff --git a/src/transformers/modeling_utils.py b/src/transformers/modeling_utils.py index <HASH>..<HASH> 100644 --- a/src/transformers/modeling_utils.py +++ b/src/transformers/modeling_utils.py @@ -626,7 +626,7 @@ class PreTrainedModel(nn.Module, ModuleUtilsMixin): Number of beams for beam search. Mus...
spelling: strictly (#<I>)
huggingface_pytorch-pretrained-BERT
train
290019778a956ba23570fa258514324b6b3eac49
diff --git a/samples/CCNE_Sample.java b/samples/CCNE_Sample.java index <HASH>..<HASH> 100644 --- a/samples/CCNE_Sample.java +++ b/samples/CCNE_Sample.java @@ -5,4 +5,11 @@ public class CCNE_Sample { System.out.println(o.getClass().getName() .equals(p.getClass().getName())); } + + publi...
fix np for CCNE when parm is just a string
mebigfatguy_fb-contrib
train
855b825ec8dbd8c3a9318a14732c2398cddee623
diff --git a/src/main/java/org/efaps/ui/wicket/pages/content/form/FormPage.java b/src/main/java/org/efaps/ui/wicket/pages/content/form/FormPage.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/efaps/ui/wicket/pages/content/form/FormPage.java +++ b/src/main/java/org/efaps/ui/wicket/pages/content/form/FormPage.ja...
- bugFix: after adding a classification the hidden fields were not rendered any more git-svn-id: <URL>
eFaps_eFaps-WebApp
train
0ebfa2f8b7f86a1cdf70f8dd3668ac583de9b302
diff --git a/analyzer_test.go b/analyzer_test.go index <HASH>..<HASH> 100644 --- a/analyzer_test.go +++ b/analyzer_test.go @@ -277,14 +277,18 @@ var _ = Describe("Analyzer", func() { pkg.AddFile("foo_test.go", ` package foo_test import "testing" + func test() error { + return nil + } func ...
Rework analyzer unit test to pass the go tip version (#<I>)
securego_gosec
train
cb9b29965199f774aba25551d92d3d18be1b7df8
diff --git a/hydpy/auxs/xmltools.py b/hydpy/auxs/xmltools.py index <HASH>..<HASH> 100644 --- a/hydpy/auxs/xmltools.py +++ b/hydpy/auxs/xmltools.py @@ -153,17 +153,23 @@ def strip(name) -> str: return name.split('}')[-1] -class XMLInterface(object): +class XMLBase(object): + + root: ElementTree.Element + + ...
Add base class `xmlBase` to module `xmltools` and let the other one inherit from it.
hydpy-dev_hydpy
train
3915d1069b6d5cadf5693d2b937acb88d4723c63
diff --git a/container/src/main/java/org/jboss/forge/furnace/impl/addons/AddonRepositoryImpl.java b/container/src/main/java/org/jboss/forge/furnace/impl/addons/AddonRepositoryImpl.java index <HASH>..<HASH> 100644 --- a/container/src/main/java/org/jboss/forge/furnace/impl/addons/AddonRepositoryImpl.java +++ b/container/...
Reduce AddonRepositoryImpl logging level to FINE
forge_furnace
train
b3f91551316402b57bfdcd52a823a0fcf7b951e9
diff --git a/src/Model/OptimizableImage.php b/src/Model/OptimizableImage.php index <HASH>..<HASH> 100644 --- a/src/Model/OptimizableImage.php +++ b/src/Model/OptimizableImage.php @@ -132,7 +132,15 @@ class OptimizableImage the image asset property. See: https://github.com/magento/magento2/pull/9...
Fastly CDN compatibility (and potentially other extensions).
tinify_magento2-plugin
train
684b711b9d5a4de304d1ba93bae6ccf28e155d7a
diff --git a/cmd/bbs/main_suite_test.go b/cmd/bbs/main_suite_test.go index <HASH>..<HASH> 100644 --- a/cmd/bbs/main_suite_test.go +++ b/cmd/bbs/main_suite_test.go @@ -6,6 +6,8 @@ import ( "net" "net/http" "net/url" + "strconv" + "strings" "github.com/cloudfoundry-incubator/bbs" "github.com/cloudfoundry-incu...
Updated to use the DropsondePort in the tests [#<I>]
cloudfoundry_bbs
train
2b2549f80318277e5911f46f1a43a718358311e6
diff --git a/awsmfa/__main__.py b/awsmfa/__main__.py index <HASH>..<HASH> 100755 --- a/awsmfa/__main__.py +++ b/awsmfa/__main__.py @@ -33,12 +33,14 @@ def main(args=None): session3 = boto3.session.Session(botocore_session=session) except botocore.exceptions.ProfileNotFound as err: print(str(err),...
add short flags. pep8 line length limits.
dcoker_awsmfa
train
0729389bb60dae1fa9a7c19350affb32d7189ea0
diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/classical.py +++ b/openquake/calculators/classical.py @@ -276,12 +276,12 @@ class ClassicalCalculator(base.HazardCalculator): mags = self.datastore['source_mags'][()] ...
Another renaming [skip CI]
gem_oq-engine
train
36b75215979cd3f88bf338c0fb8f4580fba62f44
diff --git a/uncompyle6/scanners/scanner2.py b/uncompyle6/scanners/scanner2.py index <HASH>..<HASH> 100755 --- a/uncompyle6/scanners/scanner2.py +++ b/uncompyle6/scanners/scanner2.py @@ -184,8 +184,10 @@ class Scanner2(scan.Scanner): elif op == self.opc.JA: target = self.get_target(offset)...
Small formating changes ... and premonition of <I> byteocde work
rocky_python-uncompyle6
train
0bfc658336ec332f2290fcaf6af2794a60797fe9
diff --git a/core/src/test/java/org/infinispan/test/MultipleCacheManagersTest.java b/core/src/test/java/org/infinispan/test/MultipleCacheManagersTest.java index <HASH>..<HASH> 100644 --- a/core/src/test/java/org/infinispan/test/MultipleCacheManagersTest.java +++ b/core/src/test/java/org/infinispan/test/MultipleCacheMan...
Only clear the cache manager if it is running
infinispan_infinispan
train
6595626fb273a2a47943f5906fbf36aa091f7338
diff --git a/resources/views/crawlReport.blade.php b/resources/views/crawlReport.blade.php index <HASH>..<HASH> 100644 --- a/resources/views/crawlReport.blade.php +++ b/resources/views/crawlReport.blade.php @@ -2,16 +2,18 @@ @foreach($urlsGroupedByStatusCode as $statusCode => $urls) - @if ($statusCode >= 400)) ...
Errors with send email (#<I>) So, was this file complete before? I received an empty email with only: `<h1>Found broken links</h1>`. Now it's adding the links. PS, maybe we need to add where this link is found/on which page(s).
spatie_laravel-link-checker
train
deb46c5403a570e23d222cbc16779101fcaf2d70
diff --git a/loader.js b/loader.js index <HASH>..<HASH> 100644 --- a/loader.js +++ b/loader.js @@ -91,7 +91,7 @@ var define, requireModule, require, requirejs; function requireFrom(name, origin) { var mod = registry[name]; if (!mod) { - throw new Error('Could not find module: `' + name + '` imported f...
Tweak error message, actually test it
ember-cli_loader.js
train
6b33e936970cd38a0f6abb3dfdfb2c31d6c4f6e8
diff --git a/tests/test_schedules.py b/tests/test_schedules.py index <HASH>..<HASH> 100644 --- a/tests/test_schedules.py +++ b/tests/test_schedules.py @@ -29,7 +29,7 @@ class test_rrule_remaining_estimate(TestCase): eta_from_now = r.remaining_estimate(datetime.utcnow()) eta_after_one_minute = r.remain...
fix test warnings due to assertEquals
sibson_redbeat
train
a898f97d21c62af37defe8fe989d153331fea461
diff --git a/system/src/Grav/Common/Grav.php b/system/src/Grav/Common/Grav.php index <HASH>..<HASH> 100644 --- a/system/src/Grav/Common/Grav.php +++ b/system/src/Grav/Common/Grav.php @@ -455,7 +455,7 @@ class Grav extends Container if ($extension) { $download = true; - if ...
Set default when config option is empty The default config option is an empty array, which causes get() to return null, which can lead to an error with the type of the second argument to in_array().
getgrav_grav
train
8173484a0e50743271e9e9b98939c077ebf950ef
diff --git a/lib/naver/connection.rb b/lib/naver/connection.rb index <HASH>..<HASH> 100644 --- a/lib/naver/connection.rb +++ b/lib/naver/connection.rb @@ -50,14 +50,14 @@ module Naver private def request(verb, path, params = {}) - raise ArgumentError.new "Invalid http verb #{verb}" if ![:get, :post, :p...
favor unless over if for negative conditions
kimsuelim_naver-sdk-ruby
train
44fc00efa7e9708accc368d9cc2a80d691fd70aa
diff --git a/docs/man/segno.rst b/docs/man/segno.rst index <HASH>..<HASH> 100644 --- a/docs/man/segno.rst +++ b/docs/man/segno.rst @@ -43,9 +43,9 @@ QR Code Options Error correction level: "L": 7% (default), "M": 15%, "Q": 25%, "H": 30%, "-": no error correction (used for M1 symbols) -.. option:: --mode {nu...
Added Hanzi mode to CLI
heuer_segno
train
06382d061e5a4ada9e01d244b6dcaacce7b11900
diff --git a/app/src/main/java/com/auth0/android/lock/app/DemoActivity.java b/app/src/main/java/com/auth0/android/lock/app/DemoActivity.java index <HASH>..<HASH> 100644 --- a/app/src/main/java/com/auth0/android/lock/app/DemoActivity.java +++ b/app/src/main/java/com/auth0/android/lock/app/DemoActivity.java @@ -170,7 +17...
use labeled button when title is hidden on the first screen
auth0_Lock.Android
train
3ae87b387ca52bcb513dea54c3575c6d39b09038
diff --git a/com.amd.aparapi/src/java/com/amd/aparapi/internal/writer/KernelWriter.java b/com.amd.aparapi/src/java/com/amd/aparapi/internal/writer/KernelWriter.java index <HASH>..<HASH> 100644 --- a/com.amd.aparapi/src/java/com/amd/aparapi/internal/writer/KernelWriter.java +++ b/com.amd.aparapi/src/java/com/amd/aparapi...
Disabled getter method call when target object is not this (ALOAD_0); changed length/dim auxiliary parameters generation to be numbered (0, 1, 2) only for multi-dimensional arrays (this fixes some code generation tests)
Syncleus_aparapi
train
23b1981464220d8cc8ad3498adc1d6175192107a
diff --git a/test/host/selenium.js b/test/host/selenium.js index <HASH>..<HASH> 100644 --- a/test/host/selenium.js +++ b/test/host/selenium.js @@ -8,7 +8,7 @@ var path = require("path"), browser = args[0], parameters = [], errorCount, - buildWebDriverFor = require("selenium/driverFactory.js"), + bu...
Fixes access to driverFactory
ArnaudBuchholz_gpf-js
train
3f11dc39d6ea515341f30f0e4221a7463de535bc
diff --git a/xml/XMLDocument.js b/xml/XMLDocument.js index <HASH>..<HASH> 100644 --- a/xml/XMLDocument.js +++ b/xml/XMLDocument.js @@ -92,7 +92,9 @@ class XMLDocument extends Document { break } default: { - changed[op.path[0]] = true + if (op.path) { + changed[o...
Be robust agains NOP operations.
substance_substance
train
eba73d9b61660a2cb40b15f437d11c8fffa968a2
diff --git a/lib/fluent/supervisor.rb b/lib/fluent/supervisor.rb index <HASH>..<HASH> 100644 --- a/lib/fluent/supervisor.rb +++ b/lib/fluent/supervisor.rb @@ -897,10 +897,9 @@ module Fluent # Adding `-h` so that it can avoid ruby's command blocking # e.g. `ruby -Eascii-8bit:ascii-8bit` will block. but `...
Allow to launch fluentd from `C:\Program Files\` On testing arguments in RUBYOPT, command line arguments aren't quoted so that it will fail if ruby command (which is passed as the first arugment) is placed under a directory which contains spaces. Use `spawn(program, *args)` instead of `spawn(command, options={})` to ...
fluent_fluentd
train
ba8947159889379c64946eccdae01d48575f833f
diff --git a/pkg/services/sqlstore/sqlstore.go b/pkg/services/sqlstore/sqlstore.go index <HASH>..<HASH> 100644 --- a/pkg/services/sqlstore/sqlstore.go +++ b/pkg/services/sqlstore/sqlstore.go @@ -281,6 +281,10 @@ func (ss *SQLStore) buildConnectionString() (string, error) { cnnstr += fmt.Sprintf("&tx_isolation=%s", ...
Chore: Enable ANSI_QUOTES for Mysql Database (#<I>) * remove the quote dialect * add environment variable
grafana_grafana
train
06b0181e6da695c0b9488be5cb397c51e643c821
diff --git a/src/services/calendarHelper.js b/src/services/calendarHelper.js index <HASH>..<HASH> 100644 --- a/src/services/calendarHelper.js +++ b/src/services/calendarHelper.js @@ -313,6 +313,7 @@ angular var flattenedEvents = []; weekView.eventRows.forEach(function(row) { row.row.forEach(funct...
fix(weekViewWithTimes): put events in the correct columns
mattlewis92_angular-bootstrap-calendar
train
e700395ac541d87b8ad2ab4d3bd5cf0f692d4922
diff --git a/lib/Worker/Internal/Job.php b/lib/Worker/Internal/Job.php index <HASH>..<HASH> 100644 --- a/lib/Worker/Internal/Job.php +++ b/lib/Worker/Internal/Job.php @@ -2,6 +2,7 @@ namespace Amp\Parallel\Worker\Internal; +use Amp\Parallel\Worker\Environment; use Amp\Parallel\Worker\Task; /** @internal */ @@ ...
Better fix for #<I> Assertions would crash the worker, this will return as a failed task.
amphp_parallel
train
79a0c2ccea78422d38e7c46d9daadc8eb8bcbd97
diff --git a/lib/app_info/mobile_provision.rb b/lib/app_info/mobile_provision.rb index <HASH>..<HASH> 100644 --- a/lib/app_info/mobile_provision.rb +++ b/lib/app_info/mobile_provision.rb @@ -245,7 +245,7 @@ module AppInfo end def name - @raw.subject.to_a.find { |name, _, _| name == 'CN' }[1] + ...
feat: force UTF-8 for developer cert name
icyleaf_app_info
train
a43159f49d83cdd3b7e3cce91c7e6b2c2887d213
diff --git a/lib/IDS/Converter.php b/lib/IDS/Converter.php index <HASH>..<HASH> 100644 --- a/lib/IDS/Converter.php +++ b/lib/IDS/Converter.php @@ -341,34 +341,27 @@ class IDS_Converter public static function convertFromControlChars($value) { // critical ctrl values - $search = array(chr(0), c...
did some performance tweaks to the converter git-svn-id: <URL>
ZendExperts_phpids
train
c9edfccbcf3b172228d3e2ba85c3d2cc3a4ebe7a
diff --git a/packages/ember-handlebars/tests/controls/select_test.js b/packages/ember-handlebars/tests/controls/select_test.js index <HASH>..<HASH> 100644 --- a/packages/ember-handlebars/tests/controls/select_test.js +++ b/packages/ember-handlebars/tests/controls/select_test.js @@ -591,7 +591,7 @@ test("select element ...
use prop instead of attr to make git query happy
emberjs_ember.js
train
bc6d6a74a00ff27c5f0179c74faeafe0a1047dab
diff --git a/src/Crypto.php b/src/Crypto.php index <HASH>..<HASH> 100644 --- a/src/Crypto.php +++ b/src/Crypto.php @@ -63,7 +63,7 @@ class Crypto */ public function encrypt($data) { - if (!$this->isEncrypted($data)) { + if (!$this->isEncrypted($data) && $data !== null && $data !== '') { ...
fix: avoid encrypt and decrypt empty strings
rafrsr_crypto
train
6048aefefecbf8624c7a965f1ea27b79151cd955
diff --git a/library/src/main/java/android/transitions/everywhere/Visibility.java b/library/src/main/java/android/transitions/everywhere/Visibility.java index <HASH>..<HASH> 100644 --- a/library/src/main/java/android/transitions/everywhere/Visibility.java +++ b/library/src/main/java/android/transitions/everywhere/Visib...
revert one incorrect fix from android m
andkulikov_Transitions-Everywhere
train
960b8d9294356b5651938244a62e0d485da72211
diff --git a/integration-cli/docker_api_logs_test.go b/integration-cli/docker_api_logs_test.go index <HASH>..<HASH> 100644 --- a/integration-cli/docker_api_logs_test.go +++ b/integration-cli/docker_api_logs_test.go @@ -19,34 +19,31 @@ func (s *DockerSuite) TestLogsAPIWithStdout(c *check.C) { type logOut struct { ...
Make TestLogsAPIStdout a bit less racey
moby_moby
train
d2459d97b954469f6f1a5c49ae2acae981ecf726
diff --git a/voltron/gdbproxy.py b/voltron/gdbproxy.py index <HASH>..<HASH> 100644 --- a/voltron/gdbproxy.py +++ b/voltron/gdbproxy.py @@ -2,7 +2,10 @@ import asyncore import logging import socket import struct -import cPickle as pickle +try: + import cPickle as pickle +except ImportError: + import pickle f...
Cope with the absense of cPickle
snare_voltron
train
e852c65e361ea68386c902cd1a2125543bc2d306
diff --git a/tests/ansible/run_ansible_playbook.py b/tests/ansible/run_ansible_playbook.py index <HASH>..<HASH> 100755 --- a/tests/ansible/run_ansible_playbook.py +++ b/tests/ansible/run_ansible_playbook.py @@ -56,4 +56,8 @@ else: args += ['-e', json.dumps(extra)] args += sys.argv[1:] +# get visibility into what's ...
print what's being ran in tests
dw_mitogen
train
2a0f16c84b1c163fb07ac9cc190ec87cd7297dd9
diff --git a/js/jquery.mapael.js b/js/jquery.mapael.js index <HASH>..<HASH> 100644 --- a/js/jquery.mapael.js +++ b/js/jquery.mapael.js @@ -2106,7 +2106,7 @@ }, /* - * requestAnimationFrame polyfill + * requestAnimationFrame/cancelAnimationFrame polyfill * Based on https://g...
Added comments, moved functions around (function on top, var on bottom)
neveldo_jQuery-Mapael
train
5e4432975197b7af47177b331e2372dec54dcda5
diff --git a/lib/shell_mock/spawn_arguments.rb b/lib/shell_mock/spawn_arguments.rb index <HASH>..<HASH> 100644 --- a/lib/shell_mock/spawn_arguments.rb +++ b/lib/shell_mock/spawn_arguments.rb @@ -1,5 +1,6 @@ # The method signatures for exec, system, & spawn are identical and complicated. # This is a helper method that...
copy change to emphasize multiple paragraphs in comment
yarmiganosca_shell_mock
train
00a98a76fdbcb2ff749919161c91f496b0a85d92
diff --git a/discord/client.py b/discord/client.py index <HASH>..<HASH> 100644 --- a/discord/client.py +++ b/discord/client.py @@ -1773,6 +1773,47 @@ class Client: return Invite(**data) @asyncio.coroutine + def invites_from(self, server): + """|coro| + + Returns a generator that yields ...
Add a way to get all active invites from a server.
Rapptz_discord.py
train
bccfa528567ebfbd2143c9e163a77c4a54aede01
diff --git a/pyuavcan/transport/commons/crc/__init__.py b/pyuavcan/transport/commons/crc/__init__.py index <HASH>..<HASH> 100644 --- a/pyuavcan/transport/commons/crc/__init__.py +++ b/pyuavcan/transport/commons/crc/__init__.py @@ -6,6 +6,9 @@ """ This module contains implementations of various CRC algorithms used b...
Links to sources related to the CRC algorithm
UAVCAN_pyuavcan
train
705e5082e1657bbed92235d6150c06e7de845841
diff --git a/src/bbn/Appui/History.php b/src/bbn/Appui/History.php index <HASH>..<HASH> 100644 --- a/src/bbn/Appui/History.php +++ b/src/bbn/Appui/History.php @@ -706,7 +706,7 @@ MYSQL; * @param null $column * @return float|null */ - public static function getLastDate(string $table, string $id, $column = n...
Added null as type of allowed return value
nabab_bbn
train
63d4890c9810f4c4c7247c7e576d4c510d7618db
diff --git a/regreplace.rb b/regreplace.rb index <HASH>..<HASH> 100755 --- a/regreplace.rb +++ b/regreplace.rb @@ -137,7 +137,7 @@ module Reg when ::Reg::Reg: huh #error? else needsinterp=false - GraphWalk.graphwalk(item){|cntr,datum,idx,idxtype| + Ron::GraphWalk.graphwalk(item){|c...
oops, need to give the full path to Ron::Graphwalk
coatl_reg
train
f5f3037f1e3426c28611e969672242aca7a5bb2a
diff --git a/test/DICTest.php b/test/DICTest.php index <HASH>..<HASH> 100644 --- a/test/DICTest.php +++ b/test/DICTest.php @@ -45,4 +45,11 @@ class DICTest extends \PHPUnit_Framework_TestCase $object = $env->newInstanceOf('TestObject'); $this->assertInstanceOf('justso\justapi\testutil\MockClass2', $ob...
Added tearDown method in test to prevent problems in subsequent tests
JustsoSoftware_JustAPI
train
a1263bb9f8136b5f9371b1b374f945904b6fe6e1
diff --git a/lib/erector/widget.rb b/lib/erector/widget.rb index <HASH>..<HASH> 100644 --- a/lib/erector/widget.rb +++ b/lib/erector/widget.rb @@ -89,15 +89,33 @@ module Erector @doc << {'type' => 'instruct', 'attributes' => attributes} end - def javascript(*args, &blk) - params = args[0] if args[...
javascript method now supplies CDATA markup javascript method doesn't need raw when string supplied any more git-svn-id: svn+ssh://rubyforge.org/var/svn/erector/trunk@<I> 4b<I>b9-<I>f2-<I>-<I>b1-b<I>f<I>b<I>f
erector_erector
train
1b20a0938a16aa0ab2d93e8ef14ae8b6ca6f6954
diff --git a/src/featherlight.css b/src/featherlight.css index <HASH>..<HASH> 100644 --- a/src/featherlight.css +++ b/src/featherlight.css @@ -6,6 +6,11 @@ * MIT Licensed. **/ @media all { + html.with-featherlight { + /* disable global scrolling when featherlights are visible */ + overflow: hidden; + } + .feath...
Disable global srolling with active featherlights [#<I>]
noelboss_featherlight
train
78a93c189b8f9e37d32edd9396c9c5df6c78dd86
diff --git a/examples/python/Forest_portability_example.py b/examples/python/Forest_portability_example.py index <HASH>..<HASH> 100644 --- a/examples/python/Forest_portability_example.py +++ b/examples/python/Forest_portability_example.py @@ -27,7 +27,7 @@ from qiskit.opflow.primitive_ops import PauliSumOp from qiskit...
Use real coefficients in PauliSumOp.
CQCL_pytket
train
cdd48ab92fb1d58f66e9671821e7601daed218c5
diff --git a/pug/nlp/djdb.py b/pug/nlp/djdb.py index <HASH>..<HASH> 100644 --- a/pug/nlp/djdb.py +++ b/pug/nlp/djdb.py @@ -733,6 +733,10 @@ def model_from_path(model_path, fuzziness=False): """ app_name = '.'.join(model_path.split('.')[:-1]) model_name = model_path.split('.')[-1] + + if not app_name: ...
check for empty app_name in model_from_path to fix about page
hobson_pug
train
c48630b1ce1d7cf7e6a30f1eafd28ccedcc256ed
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb b/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb index <HASH>..<HASH> 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb +++ b/activereco...
Remove unnecessary `test_sql_for_insert_with_returning_disabled` Because `sql_for_insert` is only called in `use_insert_returning?` is true since #<I>.
rails_rails
train
62eda5a5510ce04e66c3c190832cba3158f87fa8
diff --git a/core/poi/lib/utils/createConfigLoader.js b/core/poi/lib/utils/createConfigLoader.js index <HASH>..<HASH> 100644 --- a/core/poi/lib/utils/createConfigLoader.js +++ b/core/poi/lib/utils/createConfigLoader.js @@ -31,7 +31,8 @@ const tsLoader = { )} instead.` ) } - return require(filePa...
fix: handle default export in ts config file
egoist_poi
train
dc3faf813bd222008381224646c0552e152f03c7
diff --git a/argo.js b/argo.js index <HASH>..<HASH> 100644 --- a/argo.js +++ b/argo.js @@ -60,7 +60,7 @@ Argo.prototype.build = function() { } env.request.body = body; - console.log(new Date() + ': Duration (request spooler): ' + (+Date.now() - start) + 'ms'); + console.log('LOG: ' + n...
Adding tracing deeper in the stack.
argo_argo
train
b198b4e607dd80c930e0da56697e2a7cef67a932
diff --git a/lib/yajl/http_stream.rb b/lib/yajl/http_stream.rb index <HASH>..<HASH> 100644 --- a/lib/yajl/http_stream.rb +++ b/lib/yajl/http_stream.rb @@ -99,7 +99,7 @@ module Yajl end socket = opts.has_key?(:socket) ? opts.delete(:socket) : TCPSocket.new(uri.host, uri.port) - trap("INT") { +...
When trapping the INT signal in order to return from the #response method, it is possible to get into a state where it is still trapping even when the method has returned, which results in a LocalJumpError. I'm not convinced that trapping to return is the best thing to do but if you do trap to return, you should resto...
brianmario_yajl-ruby
train
0ae2d7ecf137acc9bf2b271051e9a0c3fd9892fa
diff --git a/fireplace/cards/__init__.py b/fireplace/cards/__init__.py index <HASH>..<HASH> 100644 --- a/fireplace/cards/__init__.py +++ b/fireplace/cards/__init__.py @@ -6,6 +6,7 @@ from .classic import * from .debug import * from .gvg import * from .naxxramas import * +from .tourney import * from .tutorial import...
Initialize The Grand Tournament set (fireplace.cards.tourney)
jleclanche_fireplace
train
2064dd3f43084d42df607a75efec4de3d4ea4342
diff --git a/src/Foundation/TenantAwareApplication.php b/src/Foundation/TenantAwareApplication.php index <HASH>..<HASH> 100644 --- a/src/Foundation/TenantAwareApplication.php +++ b/src/Foundation/TenantAwareApplication.php @@ -20,6 +20,10 @@ namespace Somnambulist\Tenancy\Foundation; use Illuminate\Foundation\Applic...
Fixes to multi-site support auth.tenant was not available early enough in the boot process, refactored into separate service provider call and a boot method call in TenantAwareApplication.
dave-redfern_laravel-doctrine-tenancy
train
f0c0ae10b6a3e2769e5c471778360b30df13b3b4
diff --git a/test/tests.js b/test/tests.js index <HASH>..<HASH> 100644 --- a/test/tests.js +++ b/test/tests.js @@ -2,7 +2,6 @@ * Created by Spadon on 19/08/2015. */ -var should = require('should'); var fs = require('fs'); var path = require('path'); var mime = require('mime-types'); @@ -221,3 +220,62 @@ descri...
Added re-selection test
ucbl_HyLAR-Reasoner
train
08213ab86b54dd8cb2f11f242198d09649c67f88
diff --git a/lib/Languages/Galach/TokenExtractor/Text.php b/lib/Languages/Galach/TokenExtractor/Text.php index <HASH>..<HASH> 100644 --- a/lib/Languages/Galach/TokenExtractor/Text.php +++ b/lib/Languages/Galach/TokenExtractor/Text.php @@ -63,9 +63,8 @@ final class Text extends TokenExtractor $lexem...
Remove unescaping unused special chars from Text extractor
netgen_query-translator
train
b68241e019fad571a68f741cdeb67eb61f3d8f27
diff --git a/lib/uploadcare/client/upload_client.rb b/lib/uploadcare/client/upload_client.rb index <HASH>..<HASH> 100644 --- a/lib/uploadcare/client/upload_client.rb +++ b/lib/uploadcare/client/upload_client.rb @@ -5,8 +5,13 @@ module Uploadcare upload_api def upload(object, store: false) - if file?(ob...
refactor: Uploadclient: upload
uploadcare_uploadcare-ruby
train
abd90a94da0bdda61d7acf8b03da75aba433f9c0
diff --git a/phydmslib/utils.py b/phydmslib/utils.py index <HASH>..<HASH> 100644 --- a/phydmslib/utils.py +++ b/phydmslib/utils.py @@ -34,7 +34,7 @@ def BenjaminiHochbergCorrection(pvals, fdr): if p <= bh_threshold: assert rank > max_rank max_rank = rank - pcutoff = p + ...
Fixed bug in computation of pcutoff in BenjaminiHochbergCorrection
jbloomlab_phydms
train
4373beef5fd9744b35267ae2d8af41bcdbd86309
diff --git a/src/layertree/TreeManager.js b/src/layertree/TreeManager.js index <HASH>..<HASH> 100644 --- a/src/layertree/TreeManager.js +++ b/src/layertree/TreeManager.js @@ -693,9 +693,9 @@ LayertreeTreeManager.prototype.setFirstLevelGroupFullState_ = function (treeCtrl } else { // Set state and isLegendExpand...
Sync map during refreshFirstLevelGroups_ Follow <URL>
camptocamp_ngeo
train
962c5c4801ca150273cc9dbb10b84cea5ec872df
diff --git a/CmsManager/BaseCmsPageManager.php b/CmsManager/BaseCmsPageManager.php index <HASH>..<HASH> 100644 --- a/CmsManager/BaseCmsPageManager.php +++ b/CmsManager/BaseCmsPageManager.php @@ -15,7 +15,6 @@ use Symfony\Component\HttpKernel\HttpKernelInterface; use Symfony\Component\Templating\EngineInterface; use S...
move the onCoreResponse to the ResponseListener method
sonata-project_SonataPageBundle
train
10b3dd0a7e1364061ef14fd56af449c467b2dd5f
diff --git a/lib/media/playhead.js b/lib/media/playhead.js index <HASH>..<HASH> 100644 --- a/lib/media/playhead.js +++ b/lib/media/playhead.js @@ -348,7 +348,7 @@ shaka.media.Playhead.prototype.onSeeking_ = function() { var targetTime = this.reposition_(currentTime); if (Math.abs(targetTime - currentTime) > 0.0...
Seek after clearing a buffer. Workaround for a Chrome bug. A bug in Chrome makes video feed freeze for a while after a buffer is cleared. Seeking helps to avoid freezing. A bug on Chrome: <URL>
google_shaka-player
train
1eab7112eee23d9314d89f04a75661c4e3590eb8
diff --git a/src/main/java/com/coveo/AbstractFMT.java b/src/main/java/com/coveo/AbstractFMT.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/coveo/AbstractFMT.java +++ b/src/main/java/com/coveo/AbstractFMT.java @@ -155,7 +155,7 @@ public abstract class AbstractFMT extends AbstractMojo { if (failures > ...
Correcting a typo in exception message (#<I>)
coveo_fmt-maven-plugin
train
dea553db428fc6c76372d207cd8ccb101bd3738a
diff --git a/source/org/jasig/portal/channels/remotechannel/RemoteChannel.java b/source/org/jasig/portal/channels/remotechannel/RemoteChannel.java index <HASH>..<HASH> 100644 --- a/source/org/jasig/portal/channels/remotechannel/RemoteChannel.java +++ b/source/org/jasig/portal/channels/remotechannel/RemoteChannel.java @...
Changed method signature of renderChannel() to include the ChannelRuntimeData object. git-svn-id: <URL>
Jasig_uPortal
train
67c130f7ab6be2131369c340cdbcfd98d2a4b94e
diff --git a/src/Bigcommerce/Api/Client.php b/src/Bigcommerce/Api/Client.php index <HASH>..<HASH> 100644 --- a/src/Bigcommerce/Api/Client.php +++ b/src/Bigcommerce/Api/Client.php @@ -50,6 +50,7 @@ class Client self::$api_key = $settings['api_key']; self::$store_url = rtrim($settings['store_url'], '/'); self:...
Force a new connection to be made if the client is reconfigured If the library is used for multiple shopping carts, it will fail due to it trying to use the same credentials for all carts...even if new credentials are provided. This commit forces a new connection to be made if configure is called.
bigcommerce_bigcommerce-api-php
train
bab1fdffdc08f51f14591d475acc51bb09f09799
diff --git a/server.js b/server.js index <HASH>..<HASH> 100644 --- a/server.js +++ b/server.js @@ -30,7 +30,7 @@ var mqttsettings = { // Create a throttle with 600 access limit per minute. // https://github.com/brycebaril/node-tokenthrottle // var throttle = require("tokenthrottle")({ -// rate: 60, // replen...
increated rate to <I> per second
octoblu_meshblu
train
8fdbe012dabfee9e6c5d3f4117645e7b7aac3dac
diff --git a/js/webtrees.js b/js/webtrees.js index <HASH>..<HASH> 100644 --- a/js/webtrees.js +++ b/js/webtrees.js @@ -563,7 +563,7 @@ var oldiconsdislpay = 0; function expandbox(boxid, bstyle) { if (big==1) { - if (hr.length>0) {fontdef.style.display='none';} + if (hr.length>0) {fontdef.style.display='none';} /...
Fix a regression with zoom on detailed charts.
fisharebest_webtrees
train
581155cc422f98b91e487bce9d9262040859d20a
diff --git a/lib/CORL/machine/physical.rb b/lib/CORL/machine/physical.rb index <HASH>..<HASH> 100644 --- a/lib/CORL/machine/physical.rb +++ b/lib/CORL/machine/physical.rb @@ -40,7 +40,7 @@ class Physical < CORL.plugin_class(:machine) #--- def public_ip - fact(:ipaddress) + CORL.ip_address end ...
Replacing local public ip lookups with a call to a core facade ip_address method in the base network plugin and physical machine provider.
coralnexus_corl
train
cf381ba166dc3928488f6df5f294c4d25b1a0e71
diff --git a/driver-core/src/main/com/mongodb/connection/SocketStreamFactory.java b/driver-core/src/main/com/mongodb/connection/SocketStreamFactory.java index <HASH>..<HASH> 100644 --- a/driver-core/src/main/com/mongodb/connection/SocketStreamFactory.java +++ b/driver-core/src/main/com/mongodb/connection/SocketStreamFa...
Un-deprecate SocketStreamFactory constructor that takes a SocketFactory There may be some use cases for this that we have not considered, e.g. an ssh proxy. So undeprecating until we know more. JAVA-<I>
mongodb_mongo-java-driver
train
027e4c6fc406414b9a4e62a19edbaee79b0b7d79
diff --git a/lib/nyny/app.rb b/lib/nyny/app.rb index <HASH>..<HASH> 100644 --- a/lib/nyny/app.rb +++ b/lib/nyny/app.rb @@ -55,7 +55,11 @@ module NYNY middlewares << [middleware, args, block] end - def helpers *args + def helpers *args, &block + if block_given? + args << Modul...
Add ability to define helpers with a block
alisnic_nyny
train
37aa2af4fae5186e7f3869ad74a4cadef6e3fb2d
diff --git a/utils/sqlite_extract_data.js b/utils/sqlite_extract_data.js index <HASH>..<HASH> 100644 --- a/utils/sqlite_extract_data.js +++ b/utils/sqlite_extract_data.js @@ -19,8 +19,8 @@ const sql = { json_extract(body, '$.properties.edtf:cessation') AS cessation, json_extract(body, '$.properties.wof:hierar...
fix(sqlite): Use correct quoting for better-sqlite3-<I> As in <URL>
pelias_whosonfirst
train
e9674a79604f2a05721d06a54d6346722580a022
diff --git a/uri/part/path.py b/uri/part/path.py index <HASH>..<HASH> 100644 --- a/uri/part/path.py +++ b/uri/part/path.py @@ -13,10 +13,18 @@ class PathPart(ProxyPart): cast = Path empty = '/' + def __get__(self, obj, cls=None): + value = super(PathPart, self).__get__(obj, cls) + + if value is None: + val...
Python 2 corrections and fixes for more concrete behaviour.
marrow_uri
train
9a787af2f7d4b65d59938cb352059661dcd670e7
diff --git a/spectator/events/static/js/admin/location_picker_mapbox.js b/spectator/events/static/js/admin/location_picker_mapbox.js index <HASH>..<HASH> 100644 --- a/spectator/events/static/js/admin/location_picker_mapbox.js +++ b/spectator/events/static/js/admin/location_picker_mapbox.js @@ -105,7 +105,12 @@ // ...
Fix position of Mapbox marker when zooming. The marker would be positioned correctly when the map is very zoomed in, but as you zoomed it out moved further and further away from the chosen point. Turns out there's a newish `anchor` option to set when creating a marker that helps us use the middle-bottom of the marker,...
philgyford_django-spectator
train
214e2dbe0af5189aa32998a05a14a5a4e63237f9
diff --git a/server/clustering_test.go b/server/clustering_test.go index <HASH>..<HASH> 100644 --- a/server/clustering_test.go +++ b/server/clustering_test.go @@ -8274,3 +8274,111 @@ func TestClusteringRaceCausesFollowerToRedeliverMsgs(t *testing.T) { // ok } } + +func TestClusteringSnapshotQSubLastSent(t *testin...
[FIXED] Clustering: snapshot queue group's last_sent In some situations where a member has fallen behind and other members left the group, a snapshot would have the lone member with a lower last_sent, which could cause older messages to be redelivered.
nats-io_nats-streaming-server
train
76b9009fad4dc51c450d5a2548624572834acbc5
diff --git a/main/core/Library/Installation/Plugin/DatabaseWriter.php b/main/core/Library/Installation/Plugin/DatabaseWriter.php index <HASH>..<HASH> 100644 --- a/main/core/Library/Installation/Plugin/DatabaseWriter.php +++ b/main/core/Library/Installation/Plugin/DatabaseWriter.php @@ -656,11 +656,12 @@ class DatabaseW...
[Update] More fixes needed. (#<I>) * [Migrations] Initiate uuids * Removing comments * [CoreBundle] Fixing update to <I>
claroline_Distribution
train
5cab318b9aeabcee4cca454f1ea5110c92e45011
diff --git a/lib/sprockets/environment_index.rb b/lib/sprockets/environment_index.rb index <HASH>..<HASH> 100644 --- a/lib/sprockets/environment_index.rb +++ b/lib/sprockets/environment_index.rb @@ -2,6 +2,7 @@ require 'sprockets/asset_attributes' require 'sprockets/bundled_asset' require 'sprockets/errors' require ...
Add cached mtime and md5 helpers
rails_sprockets
train
0b43624847e6c450a2dffa3d4c630e52a9edee88
diff --git a/Runnable/EventsGenerator/ComposableEventsGenerator.php b/Runnable/EventsGenerator/ComposableEventsGenerator.php index <HASH>..<HASH> 100644 --- a/Runnable/EventsGenerator/ComposableEventsGenerator.php +++ b/Runnable/EventsGenerator/ComposableEventsGenerator.php @@ -7,7 +7,11 @@ class ComposableEventsGenera...
fix(ComposableEventsGenerator): correctly yield the children events generators' products
wizbii_pipeline
train
35417ebfd84e3dbb16971990ebfc02083f4bfac0
diff --git a/src/Stream.php b/src/Stream.php index <HASH>..<HASH> 100644 --- a/src/Stream.php +++ b/src/Stream.php @@ -18,6 +18,10 @@ class Stream extends EventEmitter implements DuplexStreamInterface public function __construct($stream, LoopInterface $loop) { $this->stream = $stream; + if (ge...
add stream_set_blocking for of type stream to limit boilerplate for creating non-blocking io
reactphp_stream
train
21d93f55d23d915c31e2c0c0979bc1af83bc497b
diff --git a/proctor-webapp-library/src/main/java/com/indeed/proctor/webapp/jobs/EditAndPromoteJob.java b/proctor-webapp-library/src/main/java/com/indeed/proctor/webapp/jobs/EditAndPromoteJob.java index <HASH>..<HASH> 100644 --- a/proctor-webapp-library/src/main/java/com/indeed/proctor/webapp/jobs/EditAndPromoteJob.jav...
PROW-<I>: Fix to allow empty previousRevision to get current revision
indeedeng_proctor
train
4ec2cc9e00d73a7ca41407358223414b21b15879
diff --git a/angr/errors.py b/angr/errors.py index <HASH>..<HASH> 100644 --- a/angr/errors.py +++ b/angr/errors.py @@ -55,6 +55,9 @@ class AngrSyscallError(AngrError): class AngrSimOSError(AngrError): pass +class AngrAssemblyError(AngrError): + pass + # Congruency check failure class AngrIncongruencyError(...
Factory.block(): Add a check to test if assembling succeeds.
angr_angr
train
c8278cc719a12db5a2a110402e4c30516a93e788
diff --git a/modules/app/link-preview.js b/modules/app/link-preview.js index <HASH>..<HASH> 100644 --- a/modules/app/link-preview.js +++ b/modules/app/link-preview.js @@ -25,6 +25,7 @@ exports.create = function (api) { if (href) { if (ref.isFeed(href)) { preview = api.profile.html.preview(hre...
hide preview if scrolled on top of
ssbc_patchwork
train
d0a5c91bd422ec0deb49465a1fa33d8226977e57
diff --git a/exa/frames.py b/exa/frames.py index <HASH>..<HASH> 100644 --- a/exa/frames.py +++ b/exa/frames.py @@ -74,7 +74,7 @@ class DataFrame(pd.DataFrame): return self.__class__.__name__ # of the dataframe html. -class Updater(pd.SparseDataFrame): +class Updater(pd.SparseDataFrame, ): ''' S...
Updated container to excluded getting traits from relational and sparse
exa-analytics_exa
train
8bcf73ee510792e64215ba7714b5495f6b8f151c
diff --git a/gatt/gatt_linux.py b/gatt/gatt_linux.py index <HASH>..<HASH> 100644 --- a/gatt/gatt_linux.py +++ b/gatt/gatt_linux.py @@ -173,7 +173,7 @@ class DeviceManager: Override this method to return a specific subclass instance of `Device`. Return `None` if the specified device shall not be suppor...
Require device to be instantiated with manager This allows for the manager to know all its device instances, that will be useful for disconnecting all signals for the following commits
getsenic_gatt-python
train
cace579a9e580732c119b017d0fd7f5a81f8e469
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -120,7 +120,7 @@ class FFBuildExt(build_ext, object): args = [] else: args = ["-O3", '-fno-strict-aliasing', '-Wno-error'] - if sys.prefix == 'darwin': + if platform == ...
Properly detect osx platform.
matham_ffpyplayer
train
1e284e4bff0cce54d55b67c7728dc95836625c24
diff --git a/lib/geokit-rails3/acts_as_mappable.rb b/lib/geokit-rails3/acts_as_mappable.rb index <HASH>..<HASH> 100644 --- a/lib/geokit-rails3/acts_as_mappable.rb +++ b/lib/geokit-rails3/acts_as_mappable.rb @@ -14,7 +14,7 @@ module Geokit def acts_as_mappable(options = {}) metaclass = (class << self...
Don't use `self.send :include` but just `include`
geokit_geokit-rails
train
e575a5526fd795540ab11cb8ad09dc168db5dfe7
diff --git a/google/datalab/contrib/mlworkbench/_prediction_explainer.py b/google/datalab/contrib/mlworkbench/_prediction_explainer.py index <HASH>..<HASH> 100644 --- a/google/datalab/contrib/mlworkbench/_prediction_explainer.py +++ b/google/datalab/contrib/mlworkbench/_prediction_explainer.py @@ -17,8 +17,6 @@ from __...
Move lime import inside functions so LIME is not a hard dependency for pydatalab. (#<I>)
googledatalab_pydatalab
train
01b8449d6bb3a9e35ed33b3ee94428b013dfddcf
diff --git a/src/main/java/es/ehu/si/ixa/pipe/nerc/train/FixedTrainer.java b/src/main/java/es/ehu/si/ixa/pipe/nerc/train/FixedTrainer.java index <HASH>..<HASH> 100644 --- a/src/main/java/es/ehu/si/ixa/pipe/nerc/train/FixedTrainer.java +++ b/src/main/java/es/ehu/si/ixa/pipe/nerc/train/FixedTrainer.java @@ -99,7 +99,7 @@...
working with default factory; bug pending to use my own
ixa-ehu_ixa-pipe-nerc
train
9f6ce3b439ab7a1cebb88ee502a5f8f574863eda
diff --git a/ricecooker/classes/nodes.py b/ricecooker/classes/nodes.py index <HASH>..<HASH> 100644 --- a/ricecooker/classes/nodes.py +++ b/ricecooker/classes/nodes.py @@ -467,6 +467,7 @@ class TreeNode(Node): "copyright_holder": "", "questions": [], "extra_fields": json.dumps(self...
Add extra audio node in test. Add preset field in printing and return functions
learningequality_ricecooker
train